Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.3.1
Issue ID
1129809
Regression
Yes
[ShaderGraph] Shaders are white after upgrading project
I upgraded the project from 2018.3.0f2 to 2019.1.0b4 and the shaders were all white in the scene.
They get refreshed after i go into each one manually and re-assign them.
To reproduce:
- Download the project or the trooper.unitypackage (if you use the unitypackage, make sure to have LWRP and the shadergraph packages installed. you'll also need a LWRP profile)
- open the ExampleScene-Player scene
- notice that some of the models have white shaders
- go to the Materials-CustomShader folder, pick a type of material (like Hologram) and re-assign the Graph->Hologram shader to it.
- notice it should work now.
Note: if you import the trooper.unitypackage to 2018.3 it will show all the materials correctly.
Comments (6)
-
Spacew00t
Apr 18, 2019 03:08
Ok, for the lost souls that find this through google, here's what I did:
I followed the instructions in the resolution note, opening and resaving all 61 of my shaders and their subgraphs in the latest build of 2018. Then I updated to 2019. I still had broken shaders, but it wasn't like every last property had been unhooked... it was just any time a subgraph was used. Additionally, some materials lost references to their floats and textures, so those had to be fixed. I just went through my game and tried to fix what I could when I saw a problem. Good luck to anyone that has to undo this mess, I feel for you.
And for anyone that says "well you shouldn't have used a preview system before it was released", have some mercy. Older versions of unity3d stopped working on my computer and once I upgraded I couldn't use ShaderForge anymore, so there weren't many options left.
-
Spacew00t
Apr 18, 2019 01:51
Ehhhh actually, in seems like it fixed some problems but not all.
-
Spacew00t
Apr 18, 2019 01:48
Anybody looking to follow the resolution note, don't bother, it's garbage. You're probably going to be stuck manually fixing the broken connections.
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 grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Resolution Note:
This is due to a shortcoming in our serialization system. This will not reproduce upgrading from 2019.1 to newer releases. As 2018.x packages are considered preview this upgrade from 18.x to 19.1 will not be properly supported.
However, there is a workaround; the fix for this issue is in the latest 2018.3 package. The issue occurs in the upgrade to 2019.1. If you open a project in 2018.3, upgrade Shader Graph package to latest version, then save the graph the graph will now import correctly in 2019.1.