Hi, I am porting SkiaSharp project to work in Unity:
https://github.com/dr-vij/SkiaSharpForUnity
There is only Unity WebGL native library yet, and I found a strange behavior that looks like a bug. So, I’ll tell what I’ve done and what have happened then:
- I built Skia native libraries using Emscripten 2.0.19 (same version as Unity 2021.2.0f1 editor has) The library: libSkiaSharp.a in Plugins folder.
- I added SkiaSharp managed library with static bindings. Bindings are inside SkiaApi.generated.cs in Scripts/SkiaWrapper folder.
- I created a simple scene whit a cube and SkiaTest.cs that creates 64x64 green bitmap and draws a black circle in it’s center and sets it to Texture2D on cube material.
And now, the problem that I am investigating is:
Everything works fine in development build only. You can see it at:
https://vij.app/skia-unity-dev/
or you can build it from my repository (Unity2021.2.0f1_DEV_BUILD_WORLS_ONLY tag).
Just select WebGL and set Development build in Build settings. (Unity 2021.2.0f1)
You should see something like this after start:
The logs are also fine:
Successfull log
skia-unity-dev.framework.js:1746 Test start
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 bitmap was created
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 skCanvas was created
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 skSolor was prepared
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 skCanvas was cleared
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 circle was drawn
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 skCanvas was Flushed
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 bitmap was loaded to unity texture
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 texture was applied and set to material
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
_JS_Log_Dump @ skia-unity-dev.framework.js:1746
skia-unity-dev.framework.js:1746 Test end
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
But nothing works at all if you try the same in nondevelopment build (Development build checkbox unselected). You can see it at:
https://vij.app/skia-unity/
Or build yourself from the same repository with the same tag and all settings, but Development Build must be not checked
The result looks like this:
and the logs are:
Errors log
Test start
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SkiaTest:Start()
exception thrown: RuntimeError: null function or function signature mismatch,RuntimeError: null function or function signature mismatch
at wasm://wasm/05bbe122:wasm-function[16507]:0x80d776
at wasm://wasm/05bbe122:wasm-function[3265]:0x12ef46
at wasm://wasm/05bbe122:wasm-function[3266]:0x12f05f
at wasm://wasm/05bbe122:wasm-function[5633]:0x26e4c1
at wasm://wasm/05bbe122:wasm-function[16148]:0x7e70fc
at wasm://wasm/05bbe122:wasm-function[7797]:0x3cc79b
at wasm://wasm/05bbe122:wasm-function[2495]:0xcdaec
at wasm://wasm/05bbe122:wasm-function[47786]:0x1430563
at wasm://wasm/05bbe122:wasm-function[19143]:0x90f60f
at invoke_i (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422394)
at wasm://wasm/05bbe122:wasm-function[46729]:0x13fbfbb
at wasm://wasm/05bbe122:wasm-function[38683]:0x1141cf5
at invoke_ii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:421906)
at wasm://wasm/05bbe122:wasm-function[46730]:0x13fc05a
at wasm://wasm/05bbe122:wasm-function[26999]:0xbf06b0
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
at wasm://wasm/05bbe122:wasm-function[1497]:0x67ce4
at wasm://wasm/05bbe122:wasm-function[3560]:0x158ad5
at wasm://wasm/05bbe122:wasm-function[1359]:0x5853e
at wasm://wasm/05bbe122:wasm-function[19146]:0x90f637
at invoke_vi (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422892)
at wasm://wasm/05bbe122:wasm-function[19893]:0x93a2c5
at wasm://wasm/05bbe122:wasm-function[26999]:0xbf06b0
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
at wasm://wasm/05bbe122:wasm-function[1497]:0x67ce4
at wasm://wasm/05bbe122:wasm-function[3560]:0x158ad5
at wasm://wasm/05bbe122:wasm-function[1359]:0x5853e
at wasm://wasm/05bbe122:wasm-function[19146]:0x90f637
at invoke_vi (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422892)
at wasm://wasm/05bbe122:wasm-function[18369]:0x8ea23a
at wasm://wasm/05bbe122:wasm-function[19138]:0x90f4e6
at invoke_viiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:423053)
at wasm://wasm/05bbe122:wasm-function[18368]:0x8e9fe5
at wasm://wasm/05bbe122:wasm-function[19149]:0x90f65d
at invoke_vii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:421746)
at wasm://wasm/05bbe122:wasm-function[18364]:0x8e9a86
at wasm://wasm/05bbe122:wasm-function[19138]:0x90f4e6
at invoke_viiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:423053)
at wasm://wasm/05bbe122:wasm-function[18365]:0x8e9d38
at wasm://wasm/05bbe122:wasm-function[19144]:0x90f61d
at invoke_viii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422735)
at wasm://wasm/05bbe122:wasm-function[42818]:0x12cd8db
at wasm://wasm/05bbe122:wasm-function[27746]:0xc0245b
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
printErr @ skia-unity.loader.js:1
callUserCallback @ skia-unity.framework.js:2
runIter @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
skia-unity.loader.js:1 Invoking error handler due to
RuntimeError: null function or function signature mismatch
at wasm://wasm/05bbe122:wasm-function[16507]:0x80d776
at wasm://wasm/05bbe122:wasm-function[3265]:0x12ef46
at wasm://wasm/05bbe122:wasm-function[3266]:0x12f05f
at wasm://wasm/05bbe122:wasm-function[5633]:0x26e4c1
at wasm://wasm/05bbe122:wasm-function[16148]:0x7e70fc
at wasm://wasm/05bbe122:wasm-function[7797]:0x3cc79b
at wasm://wasm/05bbe122:wasm-function[2495]:0xcdaec
at wasm://wasm/05bbe122:wasm-function[47786]:0x1430563
at wasm://wasm/05bbe122:wasm-function[19143]:0x90f60f
at invoke_i (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422394)
at wasm://wasm/05bbe122:wasm-function[46729]:0x13fbfbb
at wasm://wasm/05bbe122:wasm-function[38683]:0x1141cf5
at invoke_ii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:421906)
at wasm://wasm/05bbe122:wasm-function[46730]:0x13fc05a
at wasm://wasm/05bbe122:wasm-function[26999]:0xbf06b0
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
at wasm://wasm/05bbe122:wasm-function[1497]:0x67ce4
at wasm://wasm/05bbe122:wasm-function[3560]:0x158ad5
at wasm://wasm/05bbe122:wasm-function[1359]:0x5853e
at wasm://wasm/05bbe122:wasm-function[19146]:0x90f637
at invoke_vi (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422892)
at wasm://wasm/05bbe122:wasm-function[19893]:0x93a2c5
at wasm://wasm/05bbe122:wasm-function[26999]:0xbf06b0
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
at wasm://wasm/05bbe122:wasm-function[1497]:0x67ce4
at wasm://wasm/05bbe122:wasm-function[3560]:0x158ad5
at wasm://wasm/05bbe122:wasm-function[1359]:0x5853e
at wasm://wasm/05bbe122:wasm-function[19146]:0x90f637
at invoke_vi (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422892)
at wasm://wasm/05bbe122:wasm-function[18369]:0x8ea23a
at wasm://wasm/05bbe122:wasm-function[19138]:0x90f4e6
at invoke_viiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:423053)
at wasm://wasm/05bbe122:wasm-function[18368]:0x8e9fe5
at wasm://wasm/05bbe122:wasm-function[19149]:0x90f65d
at invoke_vii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:421746)
at wasm://wasm/05bbe122:wasm-function[18364]:0x8e9a86
at wasm://wasm/05bbe122:wasm-function[19138]:0x90f4e6
at invoke_viiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:423053)
at wasm://wasm/05bbe122:wasm-function[18365]:0x8e9d38
at wasm://wasm/05bbe122:wasm-function[19144]:0x90f61d
at invoke_viii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422735)
at wasm://wasm/05bbe122:wasm-function[42818]:0x12cd8db
at wasm://wasm/05bbe122:wasm-function[27746]:0xc0245b
at wasm://wasm/05bbe122:wasm-function[5149]:0x236081
at wasm://wasm/05bbe122:wasm-function[19147]:0x90f645
at invoke_iiii (https://vij.app/skia-unity/Build/skia-unity.framework.js:2:422234)
skia-unity.framework.js:2 Uncaught RuntimeError: null function or function signature mismatch
at 05bbe122:0x80d776
at 05bbe122:0x12ef46
at 05bbe122:0x12f05f
at 05bbe122:0x26e4c1
at 05bbe122:0x7e70fc
at 05bbe122:0x3cc79b
at 05bbe122:0xcdaec
at 05bbe122:0x1430563
at 05bbe122:0x90f60f
at invoke_i (skia-unity.framework.js:2)
at 05bbe122:0x13fbfbb
at 05bbe122:0x1141cf5
at invoke_ii (skia-unity.framework.js:2)
at 05bbe122:0x13fc05a
at 05bbe122:0xbf06b0
at 05bbe122:0x236081
at 05bbe122:0x90f645
at invoke_iiii (skia-unity.framework.js:2)
at 05bbe122:0x67ce4
at 05bbe122:0x158ad5
at 05bbe122:0x5853e
at 05bbe122:0x90f637
at invoke_vi (skia-unity.framework.js:2)
at 05bbe122:0x93a2c5
at 05bbe122:0xbf06b0
at 05bbe122:0x236081
at 05bbe122:0x90f645
at invoke_iiii (skia-unity.framework.js:2)
at 05bbe122:0x67ce4
at 05bbe122:0x158ad5
at 05bbe122:0x5853e
at 05bbe122:0x90f637
at invoke_vi (skia-unity.framework.js:2)
at 05bbe122:0x8ea23a
at 05bbe122:0x90f4e6
at invoke_viiii (skia-unity.framework.js:2)
at 05bbe122:0x8e9fe5
at 05bbe122:0x90f65d
at invoke_vii (skia-unity.framework.js:2)
at 05bbe122:0x8e9a86
at 05bbe122:0x90f4e6
at invoke_viiii (skia-unity.framework.js:2)
at 05bbe122:0x8e9d38
at 05bbe122:0x90f61d
at invoke_viii (skia-unity.framework.js:2)
at 05bbe122:0x12cd8db
at 05bbe122:0xc0245b
at 05bbe122:0x236081
at 05bbe122:0x90f645
at invoke_iiii (skia-unity.framework.js:2)
$func16507 @ 05bbe122:0x80d776
$func3265 @ 05bbe122:0x12ef46
$func3266 @ 05bbe122:0x12f05f
$func5633 @ 05bbe122:0x26e4c1
$func16148 @ 05bbe122:0x7e70fc
$func7797 @ 05bbe122:0x3cc79b
$func2495 @ 05bbe122:0xcdaec
$func47786 @ 05bbe122:0x1430563
$oq @ 05bbe122:0x90f60f
invoke_i @ skia-unity.framework.js:2
$func46729 @ 05bbe122:0x13fbfbb
$iq @ 05bbe122:0x1141cf5
invoke_ii @ skia-unity.framework.js:2
$func46730 @ 05bbe122:0x13fc05a
$func26999 @ 05bbe122:0xbf06b0
$func5149 @ 05bbe122:0x236081
$jq @ 05bbe122:0x90f645
invoke_iiii @ skia-unity.framework.js:2
$func1497 @ 05bbe122:0x67ce4
$func3560 @ 05bbe122:0x158ad5
$func1359 @ 05bbe122:0x5853e
$lq @ 05bbe122:0x90f637
invoke_vi @ skia-unity.framework.js:2
$func19893 @ 05bbe122:0x93a2c5
$func26999 @ 05bbe122:0xbf06b0
$func5149 @ 05bbe122:0x236081
$jq @ 05bbe122:0x90f645
invoke_iiii @ skia-unity.framework.js:2
$func1497 @ 05bbe122:0x67ce4
$func3560 @ 05bbe122:0x158ad5
$func1359 @ 05bbe122:0x5853e
$lq @ 05bbe122:0x90f637
invoke_vi @ skia-unity.framework.js:2
$func18369 @ 05bbe122:0x8ea23a
$sq @ 05bbe122:0x90f4e6
invoke_viiii @ skia-unity.framework.js:2
$func18368 @ 05bbe122:0x8e9fe5
$gq @ 05bbe122:0x90f65d
invoke_vii @ skia-unity.framework.js:2
$func18364 @ 05bbe122:0x8e9a86
$sq @ 05bbe122:0x90f4e6
invoke_viiii @ skia-unity.framework.js:2
$func18365 @ 05bbe122:0x8e9d38
$nq @ 05bbe122:0x90f61d
invoke_viii @ skia-unity.framework.js:2
$func42818 @ 05bbe122:0x12cd8db
$func27746 @ 05bbe122:0xc0245b
$func5149 @ 05bbe122:0x236081
$jq @ 05bbe122:0x90f645
invoke_iiii @ skia-unity.framework.js:2
$func1497 @ 05bbe122:0x67ce4
$func15323 @ 05bbe122:0x773a9b
$func1108 @ 05bbe122:0x3dbb5
$func3123 @ 05bbe122:0x11d122
$func26083 @ 05bbe122:0xbbf6a2
$func22657 @ 05bbe122:0xa25383
$func21183 @ 05bbe122:0x961a86
$func10774 @ 05bbe122:0x5ed88f
$func10774 @ 05bbe122:0x5ed8fe
$func8475 @ 05bbe122:0x433b99
$pq @ 05bbe122:0x90f607
browserIterationFunc @ skia-unity.framework.js:2
callUserCallback @ skia-unity.framework.js:2
runIter @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
requestAnimationFrame (async)
requestAnimationFrame @ skia-unity.framework.js:2
Browser_mainLoop_scheduler_rAF @ skia-unity.framework.js:2
Browser_mainLoop_runner @ skia-unity.framework.js:2
Show 35 more frames
36skia-unity.framework.js:2 An abnormal situation has occurred: the PlayerLoop internal function has been called recursively. Please contact Customer Support with a sample project so that we can reproduce the problem and troubleshoot it.
SkiaSharp.SkiaApi:sk_fontmgr_ref_default()
SkiaSharp.SKFontManager:.cctor()
SkiaSharp.SKObject:.cctor()
SkiaSharp.SKBitmap:.ctor(IntPtr, Boolean)
SkiaSharp.SKBitmap:.ctor()
SkiaSharp.SKBitmap:.ctor(SKImageInfo, Int32)
SkiaSharp.SKBitmap:.ctor(SKImageInfo)
SkiaTest:Start()
Error log 2
[ line 8174292]
An abnormal situation has occurred: the PlayerLoop internal function has been called recursively. Please contact Customer Support with a sample project so that we can reproduce the problem and troubleshoot it.
SkiaSharp.SkiaApi:sk_fontmgr_ref_default()
SkiaSharp.SKFontManager:.cctor()
SkiaSharp.SKObject:.cctor()
SkiaSharp.SKBitmap:.ctor(IntPtr, Boolean)
SkiaSharp.SKBitmap:.ctor()
SkiaSharp.SKBitmap:.ctor(SKImageInfo, Int32)
SkiaSharp.SKBitmap:.ctor(SKImageInfo)
SkiaTest:Start()
[ line 8174292]
p.s. I’ve already sent bug report with links to:
https://vij.app/skia-unity-dev
https://vij.app/skia-unity
https://github.com/dr-vij/SkiaSharpForUnity
Hope it will help in problem investigation










