Search Issue Tracker
Duplicate
Duplicate in 2018.3.X
Votes
0
Found in
2018.2.0b7
2018.3.0a10
Issue ID
1075234
Regression
Yes
[HDRP][LWRP] Reinstalling Render Pipeline package results in broken lighting and ArgumentNullException errors
How to reproduce:
1. Create a new Unity project using "High-Definition RP" template
2. Open Package Manager (Window/Package Manager)
3. Remove "HD Render Pipeline" package
4. Reinstall the same package version
Expected behavior: The lighting in the scene is the same as before removing the package.
Actual behavior: After reinstalling the package, the scene is grey (on some versions bluish or yellowish) and lots of ArgumentNullException errors are thrown in the Console window.
Reproducible with - 2018.2.0b7, 2018.2.0f2, 2018.2.6f1, 2018.3.0a10
Not reproducible with - 2018.1.9f2, 2018.2.0b6
Note: The same issue occurs with projects that are using Lightweight RP.
Errors that are thrown:
ArgumentNullException: Argument cannot be null.
Parameter name: value
UnityEngine.MaterialPropertyBlock.SetTexture (Int32 nameID, UnityEngine.Texture value) (at C:/buildslave/unity/build/Runtime/Export/Shader.cs:130)
<...>
Workaround: Reopening the project.
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
This is a duplicate of issue #1080367