Search Issue Tracker
By Design
Votes
0
Found in [Package]
7.1.1
Issue ID
1177603
Regression
No
RenderPipelineManager.currentPipeline returns null when asset is assigned
1) Open a new project
2) Create an HDRP asset and assign it to the pipeline(Edit->Project Settings-> Graphics)
3) Add attached script to any gameobject
4) Enter playmode
Editor will show a null reference error. Both pipe and hdrp variables are null.
Comments (1)
-
arkano22
Dec 18, 2019 07:16
Would anyone care to elaborate why? The docs for RenderPipelineManager.currentPipeline say:
"Returns the instance of the currently used Render Pipeline."
Good, except it doesn't?
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
- NullReferenceException is thrown and UI builder breaks when using a USS class with "transition-property: none"
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
Resolution Note:
You need to use GraphicsSettings.currentPipeline