Search Issue Tracker

Fixed in 2019.2

Fixed in 2018.4

Votes

0

Found in

2018.3.0b1

2018.3.0b8

Issue ID

1097227

Regression

Yes

Editor crashes with CalculateBlendShapeWeights when entering Play Mode with a specific asset in the Scene

Graphics - General

-

How to reproduce:
1. Open the minimal project with link in comment by MingWai
2. Open repro scene
3. Enter Play Mode

Reproducible on:
2018.3.1f1 - no crash, has error channel.framecount
2018.3.13f1 - no crash, has error channel.framecount
2019.1.0b11 - crash, see stack trace

Not reproducible in:
2018.2.20f1 - no crash, no error

Fixed in: 2019.3.0a3

Stack Trace:
0x00000001408324DE (Unity) CalculateBlendShapeWeights
0x00000001408651E0 (Unity) SkinnedMeshRenderer::SkinOnGPU
0x0000000140859250 (Unity) SkinnedMeshRenderer::AddAsRenderNode
0x00000001406774C3 (Unity) PrepareRenderNodesOnMainThreadDeprecated
0x000000014067779A (Unity) QueuePrepareIntegrateMainThreadObjects

Comments (7)

  1. 1cedda0da1473d8a6edbacd29d3cf572?d=mm

    apex-energy-group

    Jul 17, 2019 14:19

    Thank you for solving this in 2018.4, but we're gonna need this in the full release 2019.2 as well. Does anyone know when 2019.2 will come out of beta?

  2. 99eb41126462550baf5f0e667458bb44?d=mm

    ChunkNorris

    Jul 05, 2019 09:31

    We are having the same problem on on 2019.1.4f1; In Editor is OK, but crashes on an iOS build with stacktrace.

    #0 0x0000000101167344 in ::CalculateBlendShapeWeights() at /Users/builduser/buildslave/unity/build/Runtime/Graphics/Mesh/MeshBlendShaping.cpp:109
    #1 0x0000000101159dc4 in ::SkinOnGPU() at /Users/builduser/buildslave/unity/build/Runtime/Graphics/Mesh/SkinnedMeshRenderer.cpp:841
    #2 0x000000010115a0d8 in ::SkinMeshImmediate() at /Users/builduser/buildslave/unity/build/Runtime/Graphics/Mesh/SkinnedMeshRenderer.cpp:897
    #3 0x000000010115a918 in ::AddAsRenderNode() at /Users/builduser/buildslave/unity/build/Runtime/Graphics/Mesh/SkinnedMeshRenderer.cpp:1180
    #4 0x0000000101099b58 in ::PrepareRenderNodesOnMainThreadDeprecated() at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderNodeQueuePrepareContext.cpp:183
    #5 0x0000000101098e00 in QueuePrepareIntegrateMainThreadObjects [inlined] at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderNodeQueuePrepareContext.cpp:326
    #6 0x0000000101098ca8 in ::EndRenderQueueExtraction() at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderNodeQueuePrepareContext.cpp:447
    #7 0x0000000101099128 in ::ExtractSceneRenderNodeQueue() at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderNodeQueuePrepareContext.cpp:496
    #8 0x000000010105dc64 in ::GetOrCreateSharedRendererScene() at /Users/builduser/buildslave/unity/build/Runtime/Camera/CullResults.cpp:270
    #9 0x0000000101078230 in ::CustomRender() at /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp:2978
    #10 0x000000010107f96c in Render [inlined] at /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp:2903
    #11 0x000000010107f944 in Render [inlined] at /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp:2897
    #12 0x000000010107f944 in DoRenderScreenCamera [inlined] at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderManager.cpp:122
    #13 0x000000010107f8a4 in ::RenderCameras() at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderManager.cpp:289
    #14 0x00000001011bd860 in ::PlayerRender() at /Users/builduser/buildslave/unity/build/Runtime/Misc/Player.cpp:884
    #15 0x00000001011ba854 in ::ExecutePlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:281
    #16 0x00000001011ba888 in ::ExecutePlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:298
    #17 0x00000001011baa70 in ::PlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:354

  3. E1261df3165c773359c765dfaf806b49?d=mm

    h0lmie

    Jul 04, 2019 10:17

    Update: In Unity 2018.4.3f1 LTS, the iOS crash now gives a different error:
    'Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)'

  4. D63e68c64944b24c67ce2397c89f3f82?d=mm

    Carry_Rocky

    Jul 03, 2019 22:00

    Any date about when'll this bug fix in 2017.4 LTS? Since Google Play needs ARM64 Android build from August, and our game crashes with this problem in ARM64 build.

  5. D6c7d0fc13d63301f73b80ffcaecf423?d=mm

    j0hnm4r5

    Jul 01, 2019 20:07

    I can confirm this is not resolved in 2019.2.0b7 (if anything, it's worse).

  6. D6c7d0fc13d63301f73b80ffcaecf423?d=mm

    j0hnm4r5

    Jul 01, 2019 18:15

    We are having a very similar issue on 2019.1.6f1; project runs fine in editor, but crashes on an iOS build with the above stacktrace.

  7. E1261df3165c773359c765dfaf806b49?d=mm

    h0lmie

    May 29, 2019 10:35

    I am seeing similar issues in Unity 2018.4.0f1 LTS and Unity 2018.4.1f LTS, on both Android and iOS devices. It does not happen for us in Editor, on PC nor Mac. It happens when loading assetbundles that contain 3D models which are displayed. I cannot upload the project, but here are stack traces.

    iOS Stacktrace:
    CalculateBlendShapeWeights()
    SkinOnGPU()
    UpdateSkinnedMeshes()
    UpdateAllSkinnedMeshes()
    Forward()
    ExecutePlayerLoop()
    ExecutePlayerLoop()
    PlayerLoop()
    UnityPlayerLoopImpl()
    UnityRepaint()
    ...

    Android crash:
    05-28 12:46:37.271: E/MessageQueue(2615): IdleHandler threw exception
    05-28 12:46:37.271: E/MessageQueue(2615): java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000800605e620

    It would be great to have this fix moved into 2018.4 LTS.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.