UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

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

Open wagnerpatriota opened this issue 8 years ago • 4 comments

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)

wagnerpatriota avatar Nov 12 '18 19:11 wagnerpatriota

Could you share a model that runs into this exception?

ericob avatar Nov 12 '18 20:11 ericob

@ericob , here it is: https://wagnerpatriota.com/sample.zip

wagnerpatriota avatar Nov 12 '18 21:11 wagnerpatriota

Same here, here're the models that run into this exception: https://sketchfab.com/models/c2f52afa064f44a6a8aa1e73bf92b4ae https://sketchfab.com/models/2561a93bfad74575a8a420432c894080

tiancaipipi110 avatar Dec 03 '18 16:12 tiancaipipi110

Fixed in latest release

robertdorn83 avatar Feb 09 '24 08:02 robertdorn83