Multiple problems with my game

Problem 1: can’t load certain scenes because i keep getting this error which is confusing because scenes with same code work perfectly

[playcanvas-1.67.3.dbg.js:65665]: Cannot read properties of null (reading ‘url’)

TypeError: Cannot read properties of null (reading ‘url’)
at SceneRegistry._loadSceneData

  1. there is a mechanic where a player has to shoot ammo at an enemy in a 2d game and i cant figure out how

  2. Collision script works but I don’t know if my program is keeping score nor how to present it in a scoreboard

if yall could answer this within a few hours it will be great! sorry TvT

Problem 1 is usually because the scene name doesn’t exist. I would double check your spelling of scene names in the code.