Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0b4
Issue ID
873206
Regression
No
Unity crashes on play when Probe's Mode and RefreshMode is changed in OnWillRenderObject()
Unity crashes on play when probes settings are changed in OnWillRenderObject() with:
> Unity.exe!ReflectionProbe::GetCachedRenderer(void) Unknown
Unity.exe!ReflectionProbeJob::Run(void) Unknown
Reproduction steps:
1. Open project attached(Probes repro).
2. Open scene "Main".
3. Press play.
Expected result: Unity will enter play mode.
Actual result: Unity crashes.
Notes: In 5.5.0f3, this crash is reproduced just by changing probe mode to Realtime. In 5.5.1f1 and 5.6.0b5 you also need to change probe refreshMode to EveryFrame.
This problem does not appear if function is called in Update.
For more information look at OceanReflection.cs.
Reproduced on: 5.4.0f3, 5.5.0f3, 5.5.1f1, 5.6.0b5.
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