Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.3.X

Votes

1

Found in

2017.3.0b10

Issue ID

973081

Regression

No

"Assertion failed: TLS Allocator ALLOC_TEMP_THREAD..." error is thrown when using compressed RGBA Crunched ETC 2 texture format

2D

-

How to reproduce:
1. Open user attached project and "aaa" scene
2. Notice that user has SpriteAtlas that uses RGBA Crunched ETC 2 Texture Format and is using Crunch Compression
3. Enter playmode and observe the console

Expected result: No errors are thrown in the console
Actual result: "Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations..." assertion is thrown

Reproducible with - 2018.1.0a6, 2017.3.0f1, 2017.3.0a7
Not reproducible in - 2018.1.0b1

Fixed in - 2018.1.0b3, 2017.3.0p2

Comments (4)

  1. shenwei0415

    Nov 11, 2019 07:22

    We met this crash on Unity 2018.2.14

    #00 pc 00b581a4 libunity.so crnd::crn_unpacker::decode_alpha_selectors_etc() [armeabi-v7a]
    2 #01 pc 00b57844 libunity.so crnd::crn_unpacker::decode_palettes() [armeabi-v7a]
    3 #02 pc 00b56fbc libunity.so crnd::crn_unpacker::init(void const*, unsigned int) [armeabi-v7a]
    4 #03 pc 00b56f48 libunity.so crnd::crnd_unpack_begin(void const*, unsigned int) [armeabi-v7a]
    5 #04 pc 00b5727c libunity.so DecompressCrunch(unsigned char const*, unsigned int&, TextureFormat&, int, int, int, int, MemLabelId, int) [armeabi-v7a]
    6 #05 pc 00745ae8 libunity.so DoDeCruncherJob(TextureUploadInstruction*) [armeabi-v7a]
    7 #06 pc 007ffb68 libunity.so JobQueue::Exec(JobInfo*, int, int) [armeabi-v7a]
    8 #07 pc 007ffa90 libunity.so JobQueue::Steal(JobGroup*, JobInfo*, int, int, bool) [armeabi-v7a]
    9 #08 pc 00800008 libunity.so JobQueue::ExecuteJobFromQueue() [armeabi-v7a]
    10 #09 pc 00800138 libunity.so JobQueue::ProcessJobs(void*) [armeabi-v7a]
    11 #10 pc 007ff560 libunity.so JobQueue::WorkLoop(void*) [armeabi-v7a]
    12 #11 pc 00a839a4 libunity.so Thread::RunThreadWrapper(void*) [armeabi-v7a]
    13 #12 pc 00065ac7 /system/lib/libc.so (__pthread_start(void*)+22) [armeabi-v7a]
    14 #13 pc 0001e9ad /system/lib/libc.so (__start_thread+32) [armeabi-v7a]

  2. machinestudio

    Apr 09, 2018 23:32

    I got this in 2017.3.1f1

    it was an rb deleted in a prefab. Once i put anotherone i fixed it!

  3. MarcusTheMainMan

    Dec 20, 2017 16:54

    This is in unity 2017.3. I mentioned this and got this response. I guess that means they won't patch it so we have to have slow projects for the next 3 months,
    ===================
    The issue you are having is known for us and already fixed in Unity 2018 version. The bug is caused by compressed RGBA Crunched ETC 2 textures you have in your project.

    Be sure to grab your Unity 2018 version when it is available.

  4. SevenPointRed

    Nov 30, 2017 11:44

    We also get this in 2017.3.0b10.
    Also textures lose quality every time you view them in the inspector when crunched ( it seems to drop down one mipmap level every time you view it ), so when running in the editor texture quality is a lot lower than it should be.

Add comment

Log in to post comment