DllNotFoundException
Holeric opened this issue · 4 comments
Describe the bug
I used Unity and MAXSTAR (Android). Did everything according to your instructions. App was built successfully, but didn't work correctly, i mean button "shot" didn't work. When i tested it in "Game Mode", i pressed the button and got the error.
Desktop (please complete the following information):
Windows 11
Smartphone (please complete the following information):
Samsung S20
Additional context
DllNotFoundException: AirarColorMap assembly: type: member:(null)
AirarManager.ProcessColoredMapTexture (UnityEngine.Texture2D srcTexture, System.Single[] src, System.Int32 height, System.Int32 width, System.Action1[T] callback) (at Assets/ColorMapping/ColorMapping/Scripts/core/AirarManager.cs:37) MaxstARColorMapping.Play () (at Assets/ColorMapping/ColorMapping/Scripts/core/MaxstARColorMapping.cs:40) UnityEngine.Events.InvokableCall.Invoke () (at <c6b52566f59b49fc861a7812a1ea2f6b>:0) UnityEngine.Events.UnityEvent.Invoke () (at <c6b52566f59b49fc861a7812a1ea2f6b>:0) UnityEngine.UI.Button.Press () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:70) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:114) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:57) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction
1[T1] functor) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:272)
UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:501)
Debugged app on android device and got this:
Autoconnected Player "Autoconnected Player" Can't add component because class 'BoxCollider' doesn't exist!
MaxstARColorMapping:CreateCubeForMaxstARTarget(GameObject, Single, Single) (at A:\Unity\ColorMapping\Assets\ColorMapping\ColorMapping\Scripts\core\MaxstARColorMapping.cs:55)
MaxstARColorMapping:Start() (at A:\Unity\ColorMapping\Assets\ColorMapping\ColorMapping\Scripts\core\MaxstARColorMapping.cs:30)
[./Runtime/Misc/GameObjectUtility.cpp line 1655141096]
Autoconnected Player "Autoconnected Player" DllNotFoundException: Unable to load DLL 'AirarColorMap'. Tried the load the following dynamic libraries: Unable to load dynamic library 'AirarColorMap' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "AirarColorMap" not found
at AirarManager.ProcessColoredMapTexture (UnityEngine.Texture2D srcTexture, System.Single[] src, System.Int32 height, System.Int32 width, System.Action1[T] callback) [0x0003b] in A:\Unity\ColorMapping\Assets\ColorMapping\ColorMapping\Scripts\core\AirarManager.cs:37 at MaxstARColorMapping.Play () [0x0003d] in A:\Unity\ColorMapping\Assets\ColorMapping\ColorMapping\Scripts\core\MaxstARColorMapping.cs:40 at UnityEngine.Events.InvokableCall.Invoke () [0x00016] in \Users\bokken\buildslave\unity\build\Runtime\Export\UnityEvent\UnityEvent.cs:178 at UnityEngine.Events.UnityEvent.Invoke () [0x00023] in \Users\bokken\buildslave\unity\build\Runtime\Export\UnityEvent\UnityEvent\UnityEvent_0.cs:58 at UnityEngine.UI.Button.Press () [0x0002d] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Button.cs:70 at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00011] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Button.cs:114 at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00008] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\ExecuteEvents.cs:57 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction
1[T1] functor) [0x00073] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\ExecuteEvents.cs:272
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchPress (UnityEngine.EventSystems.PointerEventData pointerEvent, System.Boolean pressed, System.Boolean released) [0x001b5] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:407
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchEvents () [0x00037] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:305
at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00025] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:279
at UnityEngine.EventSystems.EventSystem.Update () [0x000fc] in A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\EventSystem.cs:501
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) (at A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\ExecuteEvents.cs:276)
UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean) (at A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:407)
UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents() (at A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:305)
UnityEngine.EventSystems.StandaloneInputModule:Process() (at A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\InputModules\StandaloneInputModule.cs:279)
UnityEngine.EventSystems.EventSystem:Update() (at A:\Unity\ColorMapping\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\EventSystem.cs:501)