NullReferenceException: Object reference not set to an instance of an object
Some models that I try to load I get:
NullReferenceException: Object reference not set to an instance of an object UnityGLTF.GLTFSceneImporter.InitializeAssetCache () (at Assets/UnityGLTF/Scripts/G LTFSceneImporter.cs:359) UnityGLTF.GLTFSceneImporter+<_LoadScene>c__Iterator7.MoveNext () (at Assets/UnityGLTF/Scripts/GLTFSceneImporter.cs:378) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
Could you share a model that runs into this exception?
@ericob , here it is: https://wagnerpatriota.com/sample.zip
Same here, here're the models that run into this exception: https://sketchfab.com/models/c2f52afa064f44a6a8aa1e73bf92b4ae https://sketchfab.com/models/2561a93bfad74575a8a420432c894080
Fixed in latest release