Search Issue Tracker

Fixed

Unknown (hidden) 2022.1.X

Fixed in 2021.3.14f1

Votes

7

Found in

2021.3.0f1

2022.1.1f1

Issue ID

UUM-971

Regression

No

[Backport] [Linux] Editor crashes at "GfxDeviceGLES::DrawBuffersBatchMode" when entering Play Mode in the LEGO tutorial

--

-

How to reproduce:
1. Open the user attached project (My project.zip)
2. Make sure the "LEGO tutorial" scene is open
3. Enter Play Mode
4. Observe the crash

Reproducible with: 2021.3.2f1
Not reproducible on: 2022.1.0f1, 2022.2.0a12
Couldn't test with: 2019.4.38f1, 2020.3.34f1 (Compiler errors due to the tutorial project and its packages being incompatible with the used version)

Reproducible on Ubuntu 20.04
Not reproducible on Windows 10

Note: the project also crashes on 2022.2.0a12 but there is no stacktrace and since the issue is not reproducible on 2022.1.0f1 which indicates that that is likely a different bug

Last five lines of the crash stacktrace:
#0 0x00555a4fc66a0c in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007fda210503c0 in funlockfile
#2 0x00555a5020026a in GfxDeviceGLES::DrawBuffersBatchMode(GfxBatchHeader const&)
#3 0x00555a4fb9b18a in ScriptableBatchRenderer::RenderMultipleMeshes(RenderNodeQueue const&, RenderMultipleData const&, VertexInputMasks)
#4 0x00555a4fb9cfd7 in ScriptableBatchRenderer::Flush(BatchBreakCause)

  1. Resolution Note (2022.1.X):

    This crash does not occur in this version of the Unity editor or the runtime. Reason for this is, fix for this issue was originally landed in 2022.1.0b1.

    Merged to trunk in: https://github.cds.internal.unity3d.com/unity/unity/commit/2bba89a90e384b6a1cf1c076bbd0cfd321ec3d95

    Therefore, cancelling this port

  2. Resolution Note (fix version 2021.3.14f1):

    Fixed in 2021.3.14f1

Comments (3)

  1. alexds9

    Oct 07, 2022 20:14

    By adding "-force-vulkan" as a command line argument for a project, I was able to run my project without Unity crashing.
    Seems that this issue is related to: https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-assert-fail-base-dot-cold-when-opening-a-project?page=1#comments
    Although, I'm using official Nvidia drivers and not mesa drivers.

  2. alexds9

    Oct 06, 2022 05:56

    I have a project with just a few simple materials that crash with the same error, with: 2021.3.8f1, and 2021.3.11f1. Ubuntu 22.04.1.
    I have reported the issue(IN-18856) but by bug report has been closed and marked as a duplicate of this one.
    Looks that this is the same issue: https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-gfxdevicegles-drawbuffersbatchmode-when-entering-play-mode-in-the-lego-tutorial

    The other one is marked as resolved: "Fixed in 2022.2.0a17".
    I don't understand how such basic problem is not being fixed for 6 months already. It's making Unity 2021.3 unusable with Linux. Does Unity give up on Linux support?

  3. OctoRod

    Jul 01, 2022 18:23

    When is this scheduled to be resolved?

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.