Author Topic: Different issue with different versions, none is working  (Read 586 times)

2019.3.7f1




2020.1.3f1




2020.3.0f WAS the most stable when we used <2k texture size (still we had to remove .meta file for things to update properly when we change the graph)

After setting resolution to 4k SBSAR file was not imported properly in unity. When we tried to import/reimport it - it hangs the unity editor
Code: [Select]
Start ondemand import (priority ImportantBackground): Assets/Resources/TerrainGenerator.sbs (Guid(1603cb108d32e884f93ae66accb6ad87) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start ondemand import (priority ImportantBackground): Assets/Resources/TerrainGenerator.sbsar (Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start importing Assets/Resources/TerrainGenerator.sbs using Guid(1603cb108d32e884f93ae66accb6ad87) Importer(-1,00000000000000000000000000000000)  -> (artifact id: 'dbec3dea82fb369ce92885fb2d6d8a99') in 0.001002 seconds
Refreshing native plugins compatible for Editor in 1.12 ms, found 4 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions) scanfilter:
RefreshProfiler: Total: 62.090ms
Start importing Assets/Resources/TerrainGenerator.sbsar using Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(-1,00000000000000000000000000000000)


Here is a working Graph and Sbsar (works in 2020.3.0f/2020.3.7f, for earlier unity versions there are those exceptions posted higher)
https://drive.google.com/drive/folders/1AH1k72gy4vEk5GLrB-HZusfw3kfef5w3?usp=sharing

Not working Graph and Sbsar (doesn't work in 2020.3.0f/2020.3.7f, did not tested on earlier versions)
https://drive.google.com/drive/folders/13h_XYe4UXKgp-oa_86bfpsTGils5aXnt?usp=sharing



How graph is working - at runtime we push the Image_Input which was generated in code and substance should output heightmap/etc
For editing in substance designer and ability to see the result there is an option to use prebaked texture just by changing first input to this:



In Substance/Settings and Substance/Preferences everything is set to 4k
How can we make it work again? We need 4k resolution

Just wanted to add my own +1 in frustration not getting the plugin to work in any version, having tried 2018.4.25f1, 2019.4.26f1, 2020.1.0f1, 2020.1.17f1, 2020.3.9f1.
All fail with many similar errors as OP posted above, in addition to "Unable to find assembly UnityEditor.CoreModule [..]", and "FormatException [..] ParseDouble[..]" for what seems to be import feedback for the substances.

2019.3.7f1




2020.1.3f1




2020.3.0f WAS the most stable when we used <2k texture size (still we had to remove .meta file for things to update properly when we change the graph)

After setting resolution to 4k SBSAR file was not imported properly in unity. When we tried to import/reimport it - it hangs the unity editor
Code: [Select]
Start ondemand import (priority ImportantBackground): Assets/Resources/TerrainGenerator.sbs (Guid(1603cb108d32e884f93ae66accb6ad87) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start ondemand import (priority ImportantBackground): Assets/Resources/TerrainGenerator.sbsar (Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start importing Assets/Resources/TerrainGenerator.sbs using Guid(1603cb108d32e884f93ae66accb6ad87) Importer(-1,00000000000000000000000000000000)  -> (artifact id: 'dbec3dea82fb369ce92885fb2d6d8a99') in 0.001002 seconds
Refreshing native plugins compatible for Editor in 1.12 ms, found 4 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions) scanfilter:
RefreshProfiler: Total: 62.090ms
Start importing Assets/Resources/TerrainGenerator.sbsar using Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(-1,00000000000000000000000000000000)


Here is a working Graph and Sbsar (works in 2020.3.0f/2020.3.7f, for earlier unity versions there are those exceptions posted higher)
https://drive.google.com/drive/folders/1AH1k72gy4vEk5GLrB-HZusfw3kfef5w3?usp=sharing

Not working Graph and Sbsar (doesn't work in 2020.3.0f/2020.3.7f, did not tested on earlier versions)
https://drive.google.com/drive/folders/13h_XYe4UXKgp-oa_86bfpsTGils5aXnt?usp=sharing



How graph is working - at runtime we push the Image_Input which was generated in code and substance should output heightmap/etc
For editing in substance designer and ability to see the result there is an option to use prebaked texture just by changing first input to this:



In Substance/Settings and Substance/Preferences everything is set to 4k
How can we make it work again? We need 4k resolution

Hello @RomanZhu
Can you please answer the following questions?
Are you using Substance plugin 2.5.4?
Did you actually removed the .meta file?
Did you load the .sbs file when you get the error messages?
Are you using HDRP?
Are you having all these troubles with 4k only?
Do the problems go away when you switch to 2k?
If you can make a small sample project that replicate the problem then, you can it to me and I will check it out.
Thx,