Colliders are not working after restart

Hello.

I followed the code and “SceneManager.LoadScene(0);” does work.
However the player collider is automatically disable after restart. The layer order is also changed. What would be possible cause? Thanks.

image

I found this is because of existing “Sample Scene”. It held the scene index 0 which collider is disable by me but I am playing on scene index 1.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms