Search Issue Tracker

Fixed in 7.1.2

Votes

0

Found in [Package]

7.1.1

Issue ID

1184790

Regression

Yes

[Linux] [Universal RP] "NullReferenceException" is thrown on installing "Universal RP" Package from Package Manager

Package: Scriptable Render Pipeline Universal

-

On installing "Universal RP" Package from Package Manager throwing "NullReferenceException"

Steps to Reproduce:
1. Create a new Project
2. Window > Package Manger
3. Universal RP (7.1.1) > Install

Actual Result:
NullReference Exception is thrown

Expected Result:
Universal RP Package get installed without any exception thrown in the console

Reproducible on: 2020.1.0a4, 2019.3.0b4

Package Version found: 7.1.1

Package version working fine: 7.0.1

Environment:
Occurs only on Ubuntu 16.04 LTS,
not on Linux Mint 19 ( == Ubuntu 18.04 LTS)

Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Experimental.Rendering.Universal.Light2DEditorUtility.GetRenderer2DData () (at library/packagecache/com.unity.render-pipelines.universal@7.1.1/editor/2d/light2deditorutility.cs:103)
UnityEditor.Experimental.Rendering.Universal.Light2DEditorUtility.IsUsing2DRenderer () (at library/packagecache/com.unity.render-pipelines.universal@7.1.1/editor/2d/light2deditorutility.cs:115)
UnityEditor.Experimental.Rendering.Universal.Renderer2DMenus.CreateLightValidation () (at library/packagecache/com.unity.render-pipelines.universal@7.1.1/editor/2d/renderer2dmenus.cs:76)
UnityEditor.Experimental.Rendering.Universal.Renderer2DMenus.CreateFreeformLight2DValidation () (at library/packagecache/com.unity.render-pipelines.universal@7.1.1/editor/2d/renderer2dmenus.cs:88)

Comments (1)

  1. gabriel81mi

    Nov 15, 2019 23:26

    I had the same problem but was my fault, I did not properly setting in good way. If someone have this problem, I am suggest to follow this tutoria on youtube:
    https://www.youtube.com/watch?v=nkgGyO9VG54

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.