Unity SpecklePlayground standalone(win) build not working

Great link for the missing shader @teocomi ! It solved the issue.

These 2 shaders should be added into:

Project Settings → Graphics → Built-in Shader Settings → Always Included shaders

I also found another issue which I didn’t mention, The RoslynDirectoryCreator.cs script is by default in the Extra folder, but if you want to build the project the outcome won’t be so Extra :stuck_out_tongue: since it throws a missing reference error which looks something like this:

Assets\Extra\RosolynDirectoryCreator.cs(13,4): error CS0246: The type or namespace name ‘InitializeOnLoad’ could not be found

Since I’m not sure if we need this in the build at all I just created a new folder in the Assets and named it Editor, I placed the script there, and the build should be successful since the Editor folder won’t be included in the build by default. Let me know if it’s a wrong or a reasonable solution. :slight_smile:

1 Like