Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.1f1
Issue ID
1009888
Regression
No
OnRenderImage method's source is null after entering second time
Reproduction steps:
1. Download user's project and open in Unity
2. Open "Emissive" scene
3. Enter Play mode
Expected: OnRenderImage method's source should not be null after entering the method the second time (while debugging, first time hitting OnRenderImage has a good source)
Actual: source is null after entering a second time and error appears in the console
Reproduced on: 5.6.5p2; 2017.1.3p2; 2017.2.2p1; 2017.3.1p4; 2018.1.0b11; 2018.2.0a3
Note: error message
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.PostProcessing.RenderTextureFactory.Get (UnityEngine.RenderTexture baseRenderTexture) (at Assets/PostProcessing/Runtime/Utils/RenderTextureFactory.cs:19)
UnityEngine.PostProcessing.PostProcessingBehaviour.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/PostProcessing/Runtime/PostProcessingBehaviour.cs:259)
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