mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-12-08 10:42:56 -05:00
Fixed #218
This commit is contained in:
@ -27,7 +27,7 @@ namespace AssetStudio
|
||||
var str = (string)ShaderResource.ResourceManager.GetObject($"Shader{sourceFile.version[0]}{sourceFile.version[1]}");
|
||||
if (str == null)
|
||||
{
|
||||
str = preloadData.Deserialize();
|
||||
str = preloadData.GetClassString();
|
||||
if (str == null)
|
||||
m_Script = Encoding.UTF8.GetBytes("Serialized Shader can't be read");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user