Error- Cannot read property 'cull' of null

Hi,
we have 2 scenes in our project say scene_1 and scene_2, sometimes while switching from scene_1 to scene_2 or from scene_2 to scene_1 we get this error- Cannot read property ‘cull’ of null.
Please find the attached screenshot for the same.
Screenshot 2021-02-08 at 6.02.54 PM

it happens randomly, there is no proper step to reproduce the error.
could you please help me in resolving this issue?

Without something to reproduce it, it’s difficult to narrow down.

You can try debugging it in Application.render and narrow down the entity and/or meshinstance that is causing the issue?

1 Like