Unity-Technologies / AutoLOD

Automatic LOD generation + scene optimization
https://blogs.unity3d.com/2018/01/12/unity-labs-autolod-experimenting-with-automatic-performance-improvements/
Other
1.84k stars 215 forks source link

NullReferenceException: Object reference not set to an instance of an object #59

Closed diybl closed 5 years ago

diybl commented 5 years ago

NullReferenceException: Object reference not set to an instance of an object Unity.AutoLOD.AutoLOD.UpdateDependencies () (at Assets/AutoLOD/Scripts/Editor/AutoLOD.cs:182) Unity.AutoLOD.AutoLOD..cctor () (at Assets/AutoLOD/Scripts/Editor/AutoLOD.cs:215) Rethrow as TypeInitializationException: The type initializer for 'Unity.AutoLOD.AutoLOD' threw an exception.

VoidCallerZ commented 5 years ago

We're having this problem aswell

amirebrahimi commented 5 years ago

You must check what simplifier you have set under Edit -> Preferences for AutoLOD. If none are present, then it likely means you have pulled this project into your repo without the required submodules.

See: https://github.com/Unity-Technologies/AutoLOD#cloning

I've added a new warning with 8842c1f