Author Topic: Unity 2017.x upgrader not working  (Read 478 times)

I've been trying to upgrade our substances to work with 2018_1, but I get error when it comes to the meta files. I get this message in the console:

DirectoryNotFoundException: Could not find a part of the path "A:\Unity\Unity2017_3\Assets\Adventure Forge Studio\Modular Dungeon Pack\MDP_Substances\MDPStoneSubstancev235.sbsar.meta".
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:292)
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.OpenRead (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:363)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamReader.cs:167)
System.IO.StreamReader..ctor (System.String path)
(wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
System.IO.File.OpenText (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:368)
System.IO.File.ReadAllLines (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:560)
Substance.Reflection.AssetConverter.SaveAssets () (at Assets/Substance/Substance Engine/Editor/AssetConverter.cs:128)
Substance.Reflection.AssetConverter.ReflectionPart1 () (at Assets/Substance/Substance Engine/Editor/AssetConverter.cs:18)


Suggestions?

I've been trying to upgrade our substances to work with 2018_1, but I get error when it comes to the meta files. I get this message in the console:

DirectoryNotFoundException: Could not find a part of the path "A:\Unity\Unity2017_3\Assets\Adventure Forge Studio\Modular Dungeon Pack\MDP_Substances\MDPStoneSubstancev235.sbsar.meta".
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:292)
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.OpenRead (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:363)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamReader.cs:167)
System.IO.StreamReader..ctor (System.String path)
(wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
System.IO.File.OpenText (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:368)
System.IO.File.ReadAllLines (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:560)
Substance.Reflection.AssetConverter.SaveAssets () (at Assets/Substance/Substance Engine/Editor/AssetConverter.cs:128)
Substance.Reflection.AssetConverter.ReflectionPart1 () (at Assets/Substance/Substance Engine/Editor/AssetConverter.cs:18)


Suggestions?

HI,

This looks like an issue that we have fixed in the latest update. You should be good to go now.

Cheers,
Wes
Integrations Product Manager / Training
wes.mcdermott@allegorithmic.com
Twitter: The3DNinja