ShaderGraph_ExampleLibrary icon indicating copy to clipboard operation
ShaderGraph_ExampleLibrary copied to clipboard

opening the project in 2019

Open taran3d opened this issue 6 years ago • 6 comments

Cant seem to open this project in Unity 2019.1.9 everything comes up purple and I cant create a render pipeline asset, even after installing RP core, lrp and shadergraph packages

taran3d avatar Jul 16 '19 10:07 taran3d

I've also found matching the project to the right Unity version and the different package versions challenging as well, especially when trying to upgrade to a new version of Unity. I've been meaning to try this myself and haven't done so, but one suggestion might be to open the project in the Unity version that works (easy if you use Unity Hub), export the scene and dependencies you need into a package, and then import that into a newer version project.

The docs say to use:

Version: Unity 2018.3.0f2 Package: com.unity.render-pipelines.lightweight: 4.6.0-preview

dmalpica avatar Jul 16 '19 18:07 dmalpica

I tried opening the project from unity hub with 2019.1.10 and got a bunch of errors. There are some 200 instances of these two errors:

  1. ShaderGraph_ExampleLibrary_Project/Library/PackageCache/[email protected]/Runtime/Debugging/ProfilingSample.cs(19,16): error CS1644: Feature `null propagating operator' cannot be used because it is not part of the C# 4.0 language specification

  2. ShaderGraph_ExampleLibrary_Project/Library/PackageCache/[email protected]/Scripts/Runtime/TMPro_UGUI_Private.cs(1865,73): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification

The approach I suggested worked but many of the materials lost bindings:

image

dmalpica avatar Jul 17 '19 23:07 dmalpica

dmalpica, just judging from the error messages, your problem could be coming from the differences between .NET 2.0 and 4.0. Have you tried changing your 2019 project to use 2.0 (Edit->Project Settings->Player->Api Compatibility Level)?

coslor avatar Sep 14 '19 06:09 coslor

dmalpica, just judging from the error messages, your problem could be coming from the differences between .NET 2.0 and 4.0. Have you tried changing your 2019 project to use 2.0 (Edit->Project Settings->Player->Api Compatibility Level)?

tried, didnt work

tantorrrr avatar Sep 30 '19 08:09 tantorrrr

Did you try upgrading the project to use Version C# .NET 4.6? I think that may solve the issue.@dmalpica

abhilash1910 avatar Nov 17 '19 05:11 abhilash1910

For anyone who see's this, this project still works fine in 2019.4.

  1. remove lwrp package
  2. install urp package
  3. manually reassign the missing textures to the materials.

Shizola avatar Sep 02 '20 12:09 Shizola