SFraissTU/BA_PointCloud

RuntimeError: Memory access out of bounds

Opened this issue · 4 comments

I'm getting a RuntimeError: Memory access out of bounds error when I run the DemoScene for WebGL from Unity. Is it not possible to run these projects fro WebGL? Here is the console output I'm getting:

UnityLoader.js:1090
UnityLoader.js:1091 exception thrown: RuntimeError: memory access out of bounds,RuntimeError: memory access out of bounds
at _ZN21InterfaceFuncInvoker0IP12Il2CppObjectE6InvokeEjP11Il2CppClassS1 (wasm-function[12728]:10)
at _AbstractPointSetController_GetPointCount_m1491850714 (wasm-function[26591]:54)
at _FPSOutputController_Update_m111998325 (wasm-function[26639]:340)
at _Z31RuntimeInvoker_Void_t1185182177PFvvEPK10MethodInfoPvPS4 (wasm-function[20713]:16)
at dynCall_iiiii (wasm-function[27516]:20)
at Object.dynCall_iiiii (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:23906:40)
at invoke_iiiii (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:17007:33)
at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (wasm-function[22714]:173)
at _il2cpp_runtime_invoke (wasm-function[23179]:36)
at __Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (wasm-function[2383]:64)
at __ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (wasm-function[2381]:253)
at __ZN13MonoBehaviour16CallUpdateMethodEi (wasm-function[7258]:470)
at __ZN13MonoBehaviour6UpdateEv (wasm-function[7242]:5)
at __ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv (wasm-function[9989]:733)
at __ZN16BehaviourManager6UpdateEv (wasm-function[9994]:60)
at __ZZ23InitPlayerLoopCallbacksvEN41UpdateScriptRunBehaviourUpdateRegistrator7ForwardEv (wasm-function[8151]:61)
at __Z17ExecutePlayerLoopP22NativePlayerLoopSystem (wasm-function[7392]:163)
at __Z17ExecutePlayerLoopP22NativePlayerLoopSystem (wasm-function[7392]:184)
at __Z10PlayerLoopv (wasm-function[7388]:460)
at __ZL8MainLoopv (wasm-function[7375]:142)
at dynCall_v (wasm-function[27560]:12)
at Object.dynCall_v (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:24126:36)
at browserIterationFunc (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:6815:23)
at Object.runIter (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:6917:5)
at Browser_mainLoop_runner (blob:http://localhost:51226/15702484-7ca1-4d44-a5e5-5fd0d25e8936:6853:20)

Hi!
The project has not been tested for WebGL. I will take a look at that when I find the time! Thanks for letting me know!
Simon

Any feedback/update on this?

Not yet, it's on my ToDo-list. Sorry, since I spend most of my time working on other stuff right now for my studying I can only use my spare time for this. I hope I will get back to looking at it this month. If you want to render point clouds using WebGL, I recommend Potree ( http://potree.org/ ).

bro,any update?