Search Issue Tracker
Fixed in 8.0.0
Fixed in 7.1.8
Votes
0
Found in [Package]
7.1.1
Issue ID
1189196
Regression
Yes
UniversalRenderPipelineAsset.scriptableRenderer throws NullReferenceException when trying to get the current ScriptableRenderer
Steps to reproduce:
1. Open the attached project "1189196.zip"
2. Open the SampleScene
3. Enter the Play mode
4. Observe the Console
Expected results: No errors or exceptions are thrown in the console
Actual results: "NullReferenceException: Object reference not set to an instance of an object" on 'm_Renderers' is thrown
Reproducible with: Universal RP 7.1.1, 7.1.2 (using 2019.3.0b4, 2019.3.0b7, 2020.1.0a8)
Not reproducible with: Universal RP 7.0.0, 7.0.1 (using 2019.3.0b3, 2019.3.0b4)
Note:
- On URP 7.1.1 Renderer List now appears under the General area of UniversalRenderPipelineAsset UI.
- In 2019.3, active render pipeline is now set via QualitySettings, or if no value is set then falls back to GraphicsSettings.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Resolution Note (fix version 8.0.0):
Issue caused by code running before any rendering had begun in the first frame, solved by forcing creation of Pipeline earlier if required, but ideally any code dealing with rending should be done when the frame begins to render using the SRP callbacks
Verified in
Version: 2020.1.0a20.2541
Revision: trunk 019325219793
Built: Thu, 16 Jan 2020 04:57:18 GMT
with URP package 7.1.8
Resolution Note (fix version 7.1.8):
Issue caused by code running before any rendering had begun in the first frame, solved by forcing creation of Pipeline earlier if required, but ideally any code dealing with rending should be done when the frame begins to render using the SRP callbacks.
Verified in
Version 2019.3.0f6 (27ab2135bccf)
Wed, 22 Jan 2020 05:13:15 GMT
Branch: 2019.3/staging
with URP package 7.1.8