Hi my friend,I have tried to add a 3D Tileset from my PC local directory,but I got an error on the unity console window
NullReferenceException: Object reference not set to an instance of an object
Reinterop.ReinteropInitializer.System_Collections_Generic_Dictionary5Hx6c0Eu2sl__zevLSSpjKA_CallGetEnumerator_1B2M2Y8AsgTpgAmY7PhCfg (System.IntPtr thiz) (at Library/PackageCache/com.cesium.unity@0.3.0/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/ReinteropInitializer.cs:32197)
(wrapper native-to-managed) Reinterop.ReinteropInitializer.System_Collections_Generic_Dictionary5Hx6c0Eu2sl__zevLSSpjKA_CallGetEnumerator_1B2M2Y8AsgTpgAmY7PhCfg(intptr)
Reinterop.ReinteropInitializer+ActionA2lFbwI_1jdffaYu1u_OZgNativeFunction.Invoke (UnityEngine.AsyncOperation obj) (at Library/PackageCache/com.cesium.unity@0.3.0/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/ReinteropInitializer.cs:31811)
UnityEngine.AsyncOperation.InvokeCompletionEvent () (at <28d694a2939e4826992577f826717d3b>:0)
I have tried to fix this problem myself and I found that if I change the cesium-unity-samples-0.2.0 project’s second scene Melbourne Photogrammetry’s URL to my 3DTileset local directory url,I won’t get the error.
Please help me figure out if I set something wrong.
Think you all.