Search Issue Tracker

Duplicate

Votes

0

Found in

2017.4

2018.4.13f1

2020.1

Issue ID

1204427

Regression

No

UnloadUnusedAssets unloads assets that are referenced through thread local storage

Scripting

-

How to reproduce:
1. Build & Run development build of the attached project
2. Wait

Actual result: The used texture gets deleted after calling UnloadUnusedAssets (Error appears).
Expected result: The used texture shouldn't be deleted.

Reproducible with: 2017.4.35f1, 2018.4.14f1, 2019.3.0f3, 2020.1.0a16.

Notes:
- Reproducible on iOS (IL2CPP), Mac Standalone (Il2CPP and Mono), Windows Standalone.
- Not reproducible in Editor.
- User claims this behaviour causes a crash in their project.

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.