[SOLVED] Cannot read properties of null (reading 'device')

Oh wow okay, thanks a lot! I’ll fix that ASAP!

Guess sometimes its the simple things :smiley:

Thanks for your help, I guess I’ll change the title to solved then!

I’ve got this issue into the smallest possible scene I can manage here https://playcanvas.com/project/1025265

Click on the button is all that is needed to trigger the issue. I’ve got no clue on what’s happening here :sweat:

Findings:

  • Removing the batch group on ‘Box001-test’ stops the error from triggering
  • Changing all the Omni Lights under ‘Delete any of the lights and the bug stops happening’ to Shadow update mode ‘always’ stops the error
  • Deleting any of the Omni Lights stops the issue from happening
  • Deleting ‘Delete this and all hell breaks lose’ causes the the render to get stuck in an error loop
1 Like

Hm, just took a look at it. Fortunately I have an accepteable solution at hand but it’s still unfortunate for performance reasons that I’m unable to disable some of those more costly assets.

BTW loving this one haha :smiley:
image

Disabling / Removing the batch groups may be the easiest solution here tbh with the least cost

1 Like

Alright, will try that! Thanks a lot for your time and help!

Created two tickets on this:

2 Likes

@Vahrenhol3D

Thanks for sharing the issues with us, we’ve got fixes in place for this so in the next engine release (1.59.1), your original setup should be fine :slight_smile:

1 Like