realtime-CSG-for-unity
realtime-CSG-for-unity copied to clipboard
Default material in error
version: Unity 2022.2.2f1
I just creat a new 3D template and import CSG by UPM, and all materials are in error, their shader is InternalErrorShader. It is forbidden to edit these material since they are in Package folder.
Fixed by referring #370. I don't know why importing into 2022.2 by UPM doesn't set these materials with Standard shader.
This also happens when installing via git clone in Packages directory under 2019.4.31f1, unfortunately. Unsure how to resolve this, beyond re-making a crude approximation of the materials in my own assets and using them
I got this same error on 2022.3.4f1 but nothing seemed to change even after the fix. Anyone reason for this?
Hey everyone, apologies for taking so long to get around to this. This is a bug, and is intended to be fixed. RealtimeCSG is supposed to generate materials for the appropriate pipeline, but when imported via UPM, it cannot generate the materials as the folder is write-protected. In the future, it should generate them in Assets/
instead of Packages/
, but we just need to figure out the best way to go about that.