Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Unity Editor Crashes when Entering Play Mode with ARToolkitX

Abierto
#100 7 comentarios 0 reacciones 1 asignado Ver en GitHub

@philip-lamb ya está trabajando en esto.

Desde el 28/11/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug

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
Lenguaje dominante
C#
Estrellas
48
Forks
25
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de artoolkitx/arunityx

Todos los issues de artoolkitx/arunityx

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.