Search Issue Tracker

Active

Planned for 2022.1.X

Votes

17

Found in

2021.2.0b1

Issue ID

1361676

Regression

Yes

Unity 2021.2 crashes on some Windows7 PCs when tbb12.dll gets loaded

Progressive Lightmapper

-

Affected Versions: 2021.2.0b1, 2021.2.0b9

It appears that it only affects some Russian Windows7 SP1 versions and other versions with non-US character sets (Japanese and Polish confirmed by users).

Callstack:
ntdll.dll!KiUserCallbackDispatch()
user32.dll!NtUserGetProcessWindowStation()
msvcr120.dll!__crtMessageBoxW()
msvcr120.dll!_NMSG_WRITE()
msvcr120.dll!malloc()
msvcr120.dll!_malloc_crt()
tbbmalloc.dll!000007fee9c90add()
msvcr120.dll!_initterm_e()
tbbmalloc.dll!000007fee9c90d00()
tbbmalloc.dll!000007fee9c90e36()
ntdll.dll!LdrpRunInitializeRoutines()
ntdll.dll!LdrpLoadDll()
ntdll.dll!LdrLoadDll()
KERNELBASE.dll!LoadLibraryExW()
KERNELBASE.dll!LoadLibraryExA()
kernel32.dll!LoadLibraryA()
tbb12.dll!000007feeaa25215()
tbb12.dll!000007feeaa25125()
tbb12.dll!000007feeaa17866()
tbb12.dll!000007feeaa173c8()
ntdll.dll!RtlRunOnceExecuteOnce()
kernel32.dll!InitOnceExecuteOnce()
msvcp140.dll!000007fef717522b()
tbb12.dll!000007feeaa177d0()
tbb12.dll!000007feeaa172de()
tbb12.dll!000007feeaa1767c()
tbb12.dll!000007feeaa2990c()
tbb12.dll!000007feeaa15120()
ucrtbase.dll!_initterm()
tbb12.dll!000007feeaa455aa()
tbb12.dll!000007feeaa45784()
ntdll.dll!LdrpRunInitializeRoutines()
ntdll.dll!LdrpInitializeProcess()
ntdll.dll!LdrInitializeThunk()

In the callstack, you can see it tries display a message box, here's the text:

Runtime Error!

Program: E:\Program Files\Unity 2021.2.0b9\Editor\Unity.exe

R6030
- CRT not initialized

I suspect this happens because LoadLibrary is called from the global constructor, but it's just a guess.

Forum thread: https://forum.unity.com/threads/unity-2021-2-0b1-does-not-start.1132336/

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Looks like the issue got fixed in beta 10, I am requesting a bisection to find the changeset that fixed the issue.

Comments (5)

  1. F29f6b1c7f1be4eb75e00b805e62d4d8?d=mm

    darquan0

    Dec 31, 2021 05:19

    2022.1.0b2 crashes.
    2021.2.xx all do not start, with the same error code.
    I have Windows 7 SP1 x64 English (!), but with language for non-Unicode programs set to Russian.
    Changing it to English DOES NOT help the issue.

    Clean install of windows 7 SP1 (just drivers and M$VS redists) -- same.

  2. 91ba3ab60114d93c10a6f2162e97ef7a?d=mm

    KF51

    Dec 25, 2021 18:58

    Unfortunately, the crash persists in 2022.1.0b2 BETA as well. (Windows 7 SP1 German)

    Last version that works fine is 2020.3.25f1 LTS.

  3. 376a0dcc33304c6320454180ba637786?d=mm

    guycalledfrank

    Dec 12, 2021 15:44

    2022.1.0b1 crashes as well.

  4. 376a0dcc33304c6320454180ba637786?d=mm

    guycalledfrank

    Dec 12, 2021 15:29

    Can confirm it still crashes on 2021.2.6f1.

  5. 8f77e77ed44c0e0f6203dd9fc587aca5?d=mm

    dizzymediainc

    Nov 25, 2021 02:20

    This issue persists across all 2021.2 versions (i.e 2021.2, 2021.2.1, 2021.2.2, 2021.2.3, etc.)

    The engine crashes on startup no matter what 2021.2 version i install, the crashing stops when i install 2021.1+ (i.e 2021.1.26+)

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.