Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Crash on android AmbientProbeBaker::BakeAmbientProbe

Discussion in 'Editor & General Support' started by YoucefB, Dec 13, 2022.

  1. YoucefB

    YoucefB

    Joined:
    Nov 8, 2016
    Posts:
    8
    Hello,

    I am getting a crash report on android and can't figure out what the issue is, it's happening on just one device (TECNO TECNO-BD3 / Android 11)


    I think its happening on scene startup when calling

    Code (CSharp):
    1. int render_id = reflectionProbe.RenderProbe();
    2. RenderSettings.skybox.SetFloat("_Exposure", exposure);
    3. DynamicGI.UpdateEnvironment();
    Unity version: 2021.3.15f1

    backtrace:
    #00 pc 0x000000000021a7bc /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (AmbientProbeBaker::BakeAmbientProbe(Material*, SphericalHarmonicsL2&))
    #01 pc 0x0000000000733924 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (RenderSettings::CalculateAmbientProbeFromSkybox())
    #02 pc 0x0000000000330c5b /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (DynamicGI::UpdateEnvironment())
    #03 pc 0x000000000067add8 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libil2cpp.so (Environment_update_material_m8410F986FB6B9D0636D4445E14F1D32C71233B0A)
    #04 pc 0x000000000058b164 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**))
    #05 pc 0x000000000058afc0 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**))
    #06 pc 0x000000000033d46d /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool))
    #07 pc 0x0000000000346f41 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool))
    #08 pc 0x0000000000351203 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingExceptionPtr*))
    #09 pc 0x00000000003512dd /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr))
    #10 pc 0x0000000000351863 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (MonoBehaviour::DelayedStartCall(Object*, void*))
    #11 pc 0x00000000001e8a3f /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (DelayedCallManager::Update(int))
    #12 pc 0x000000000028479f /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*))
    #13 pc 0x00000000002847c1 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*))
    #14 pc 0x0000000000284953 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (PlayerLoop())
    #15 pc 0x000000000039e3a1 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (UnityPlayerLoop())
    #16 pc 0x00000000003ae0f5 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*))
    #17 pc 0x0000000000044033 /data/app/~~CfZzjgZOyfwSwaBcArV_Lg==/com.Void.appName-f5jhDeFVxyIyyev-NkeoHw==/oat/arm/base.odex