realtime-CSG-for-unity icon indicating copy to clipboard operation
realtime-CSG-for-unity copied to clipboard

Default material in error

Open heptaspirit opened this issue 1 year ago • 4 comments

version: Unity 2022.2.2f1 image

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.

heptaspirit avatar Feb 06 '23 10:02 heptaspirit

Fixed by referring #370. I don't know why importing into 2022.2 by UPM doesn't set these materials with Standard shader.

heptaspirit avatar Feb 15 '23 10:02 heptaspirit

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

mrdaemon avatar Apr 28 '23 14:04 mrdaemon

I got this same error on 2022.3.4f1 but nothing seemed to change even after the fix. Anyone reason for this?

steal7hy avatar Sep 08 '23 05:09 steal7hy

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.

nukeandbeans avatar Sep 09 '23 20:09 nukeandbeans