Search Issue Tracker

Fixed

Fixed in 6.14.1

Votes

1

Found in [Package]

6.10.3

6.11.0

6.12.1

Issue ID

AMATB-2

Regression

No

Crash on block_locate_free when importing a 3D model with glTFast

Package: Unity glTFast

-

Steps to reproduce:
1. Create a new Unity project
2. Add the {{com.unity.cloud.gltfast}}package through Package Manager
3. Download the “user’s attached 3D model file”
4. Drop the file into the Project window
5. Observe the crash

Reproducible with: 6.10.3, 6.11.0, 6.12.0 (6000.1.5f1), 6.12.1 (2021.3.52f1, 2022.3.62f1, 6000.0.50f1, 6000.1.5f1, 6000.2.0b4)

Reproducible on: macOS 15.3.2 (M1 Max), Windows 10 (22H2)
Not reproducible on: no other environment tested

Note: After importing the model, sometimes the Editor crashes when reopening the project

First few lines of StackTrace:

{noformat}#0 0x00000104c64d28 in block_locate_free
#1 0x0000010267fda4 in DynamicHeapAllocator::Allocate(unsigned long, int)
#2 0x00000102682f08 in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId, AllocateOptions, char const, int)
#3 0x00000102682490 in malloc_internal(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const
, int)
#4 0x000001022ac698 in UnsafeUtility::Malloc(long long, int, NativeCollection::Allocator, ScriptingExceptionPtr*){noformat}

  1. Resolution Note (fix version 6.14.1):

    Avoid crash when loading meshes with more than 8 texture coordinate sets by properly limiting them.

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.