Unity Editor Crashes when Entering Play Mode with ARToolkitX
@philip-lamb ci sta già lavorando.
Dal 28/11/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Whenever we try to run our scene in play mode the editor crashes. We suspect the crash is caused by the ARX Controller or ARX Video Background scripts, since when we disabled these scripts the editor does not crash. We also tried to run play mode when the web cam is used by another program, and it did not crash. We tried to build it on android and it works, we also tried building on Windows and it also crashes. Does ARUnityX not work on Desktop computers yet?
Here is an excerpt from the crash log:
=================================================================
Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at ARX_pinvoke:arwUpdateTexture32 <0x00089>
at PluginFunctionsARX:arwUpdateTexture32 <0x00052>
at ARXVideoBackground:OnVideoFrame <0x00068>
at UnityEngine.Events.InvokableCall:Invoke <0x00038>
at UnityEngine.Events.UnityEvent:Invoke <0x000da>
at ARXController:UpdateAR <0x001e2>
at ARXController:Update <0x000e2>
at System.Object:runtime_invoke_void__this__ <0x00087>
=================================================================
Received signal SIGSEGV
Obtained 30 stack frames
0x00007fff983aa85a (ARX) ARVideoSource::getFrameTextureRGBA32
0x000002651b3102ba (Mono JIT Code) (wrapper managed-to-native) ARX_pinvoke:arwUpdateTexture32 (intptr)
0x000002651b2fff43 (Mono JIT Code) PluginFunctionsARX:arwUpdateTexture32 (UnityEngine.Color32[]) (at ./Library/PackageCache/org.artoolkitx.artoolkitx-unity@7e205a297c/Runtime/Scripts/PluginFunctionsARX.cs:243)
0x0000026519eaa8e9 (Mono JIT Code) ARXVideoBackground:OnVideoFrame () (at ./Library/PackageCache/org.artoolkitx.artoolkitx-unity@7e205a297c/Runtime/Scripts/ARXVideoBackground.cs:252)
0x00000265bb8ebb69 (Mono JIT Code) UnityEngine.Events.InvokableCall:Invoke ()
0x00000265bb8eb3fb (Mono JIT Code) UnityEngine.Events.UnityEvent:Invoke ()
0x00000265bbb02813 (Mono JIT Code) ARXController:UpdateAR () (at ./Library/PackageCache/org.artoolkitx.artoolkitx-unity@7e205a297c/Runtime/Scripts/ARXController.cs:825)
0x00000265bbb020e3 (Mono JIT Code) ARXController:Update () (at ./Library/PackageCache/org.artoolkitx.artoolkitx-unity@7e205a297c/Runtime/Scripts/ARXController.cs:503)
0x00000265bb4572d8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ff80504e274 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ff804f8eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ff804f8ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff722ed9d14 (Unity) scripting_method_invoke
0x00007ff722eb7e34 (Unity) ScriptingInvocation::Invoke
0x00007ff722e9f4b4 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007ff722e9f5da (Unity) MonoBehaviour::CallUpdateMethod
0x00007ff72293bf7b (Unity) BaseBehaviourManager::CommonUpdate<BehaviourManager>
0x00007ff72294378a (Unity) BehaviourManager::Update
0x00007ff722b7464d (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunBehaviourUpdateRegistrator::Forward
0x00007ff722b535cc (Unity) ExecutePlayerLoop
0x00007ff722b53748 (Unity) ExecutePlayerLoop
0x00007ff722b5a025 (Unity) PlayerLoop
0x00007ff723b1c16f (Unity) PlayerLoopController::InternalUpdateScene
0x00007ff723b28d9d (Unity) PlayerLoopController::UpdateSceneIfNeededFromMainLoop
0x00007ff723b270a1 (Unity) Application::TickTimer
0x00007ff723f9e16a (Unity) MainMessageLoop
0x00007ff723fa39d0 (Unity) WinMain
0x00007ff725387dbe (Unity) __scrt_common_main_seh
0x00007ff85e717344 (KERNEL32) BaseThreadInitThunk
0x00007ff85f1c26b1 (ntdll) RtlUserThreadStart
- Lingua principale
- C#
- Stelle
- 48
- Fork
- 25
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di artoolkitx/arunityx
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
artoolkitx/arunityx#109 · 1 reazione ·
-
Related principlesForse di nuovo libera @philip-lamb l’ha presa 670 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
artoolkitx/arunityx#105 · 1 commento · 1 assegnatario ·
-
Same marker multiple objectsForse di nuovo libera @philip-lamb l’ha presa 670 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
artoolkitx/arunityx#103 · 2 commenti · 1 assegnatario ·
-
enhancement P3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
artoolkitx/arunityx#94 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
artoolkitx/arunityx#89 · 4 commenti ·
Tutte le issue di artoolkitx/arunityx
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SubtitleEdit/subtitleedit#15462 ·
I maintainer di solito rispondono entro 1 giorno
-
:watch: Not Triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
comp:instrumentation.aspnetcore
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
open-telemetry/opentelemetry-dotnet-contrib#5427 ·
I maintainer di solito rispondono entro 1 giorno
-
design-proposal
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dotnet/aspnetcore#69592 ·
I maintainer di solito rispondono entro 1 giorno
-
Client Container Registry customer-reported needs-team-attention question Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Azure/azure-sdk-for-net#63470 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno