Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.2.0a15
Issue ID
1334139
Regression
Yes
[MacOS] Editor crashes on RenderTexture::GetSRGBReadWrite() const when running tests from terminal
How to reproduce:
1. Extract the attached project ('a.zip')
2. Open the Terminal and run the following command: "Unity path" -batchmode -nographics -projectPath "Project path" -runTests -testPlatform editmode
Reproducible with: 2021.2.0a15, 2021.2.0a16
Not reproducible with: 2018.4.35f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a14
First lines of the stack trace:
0x0000010cb053e4 in RenderTexture::GetSRGBReadWrite() const
0x0000010cb87420 in AmbientProbeBaker::BakeAmbientProbe(Material, SphericalHarmonicsL2&)
0x0000010e24cb16 in BakeAmbientProbeJob::Prepare(BuiltinSkyManager, BakeAmbientProbeJobData const&)
0x0000010e15a887 in BuiltinSkyManager::PostUpdate()
0x0000010e147b9c in gi::PostUpdate(dynamic_array<GISceneManagerClient*, 0ul> const&)
Notes:
- Crashes with or without sudo in the command
- The crash doesn't occur when using any Unity version on Windows
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment