Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default material in error #380

Open
heptaspirit opened this issue Feb 6, 2023 · 4 comments
Open

Default material in error #380

heptaspirit opened this issue Feb 6, 2023 · 4 comments
Labels
Projects

Comments

@heptaspirit
Copy link

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
Copy link
Author

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

@mrdaemon
Copy link

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

@itsjustmonu
Copy link

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

@nukeandbeans
Copy link
Collaborator

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 nukeandbeans added this to Needs triage in WIP via automation Sep 9, 2023
@nukeandbeans nukeandbeans moved this from Needs triage to To-Do in WIP Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
WIP
  
To-Do
Development

No branches or pull requests

4 participants