1 Like
This specific error, coming from this location (eg, NOT your code, such as UnityEditor.Graphs
or UIElements
or PlasticSCM
), is often fixed by either Reset Layouts (upper right) or else Right-click Project, Reimport-All.
ALSO, check if you did all the steps to set up that package, or completely remove the package and try another version.
Otherwise, if the error is in your code, itβs always the same answer:
How to fix a NullReferenceException error
Three steps to success:
- Identify what is null β any other action taken before this step is WASTED TIME
- Identify why it is null
- Fix that
NullReference is the single most common error while programming. Fixing it is always the same.
Some notes on how to fix a NullReferenceException error in Unity3D:
3 Likes
Thank you very much.
Resolved.