neon-age / Smart-Hierarchy

Human-friendly hierarchy for Unity.
MIT License
599 stars 43 forks source link

Deleting script cause overflow #9

Closed Mugiban closed 3 years ago

Mugiban commented 3 years ago

When deleting a script that is attached to a gameobject in the hierarchy, it cause a null reference exception and force you to restart unity. Of course you are really not forced to restart if you disable and enable smart hierarchy from preferences.

Really good asset btw. Captura de pantalla 2020-12-12 004310

neon-age commented 3 years ago

Have you got this issue on the latest version? I can't seem to reproduce this

Mugiban commented 3 years ago

Well I was testing and the problem was i had smart hierarchy in Assets folder instead of Packages. When it is inside the Packages folder the problem does not happen. I should have tested this before... I guess you can close this issue.

neon-age commented 3 years ago

Just checked it in Assets, the latest version works fine