Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.2.X, 2022.1.X

Votes

18

Found in

2021.2.0b1

Issue ID

1361676

Regression

Yes

Unity 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. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a8

Comments (6)

  1. denis_bogdanov

    Mar 11, 2022 00:00

    Can confirm it still crashes on 2021.2.14f1 and 2022.1.0b11

  2. 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.

  3. 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.

  4. guycalledfrank

    Dec 12, 2021 15:44

    2022.1.0b1 crashes as well.

  5. guycalledfrank

    Dec 12, 2021 15:29

    Can confirm it still crashes on 2021.2.6f1.

  6. 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.