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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment