- Home /
Editing collider crashes scene camera
Hi,
I was making my collider a bit bigger and it wouldn't change it's size and the size values changed to NaN
and my scene disappeared and had +999 errors.
transform.position assign attempt for 'SceneCamera' is not valid. Input position is { NaN, NaN, NaN }.
I fixed it by changing layout to default, but that doesn't change the fact that I can't resize my collider. Anyone please?? How do i fix it?
Comment
Probably you are dividing a vector by zero (this will be undefined) and then setting camera position to this vector, that's why you are getting this {NaN, NaN, NaN} Hope this will help. If not Show me your code that is making problem.
Your answer
Follow this Question
Related Questions
BoxCollider 2D not working OnMouseDown() 1 Answer
when i collide with npc he keeps walking. 1 Answer
Internal collisions 1 Answer