Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X

Votes

0

Found in

2018.4

2019.3.0f6

2020.2

Issue ID

1246473

Regression

No

Crash on GetDependenciesRecursive when entering the Play Mode with a Custom Render Texture in the Scene

Texture

-

Reproduction steps:
1. Download and open the attached project called: "New Unity Project.zip"
2. Enter the Play Mode

Reproducible with: 2018.4.25f1, 2019.4.3f1, 2020.1.0b16, 2020.2.0a18

First 5 lines of the stack trace:
#0 0x007fc7ccc838a0 in funlockfile
#1 0x005574ed21acd2 in CustomRenderTexture::GetDependenciesRecursive() const
#2 0x005574ed331bda in SortFunctor::operator()(CustomRenderTexture*, CustomRenderTexture*)
#3 0x005574ed331783 in void std::__introsort_loop<CustomRenderTexture**, long, __gnu_cxx::__ops::_Iter_comp_iter<SortFunctor> >(CustomRenderTexture**, CustomRenderTexture**, long, __gnu_cxx::__ops::_Iter_comp_iter<SortFunctor>)
#4 0x005574ed3242ed in CustomRenderTextureManager::UpdateC

Notes:
- Reproducible on macOS and Linux
- Not reproducible on Windows

  1. Resolution Note (fix version 2021.1):

    Fixed in version 2019.4.37f1
    Not reproducible in version 2020.3.11f1 and up

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.