decentraland / unity-renderer

Unity implementation of Decentraland Client
https://play.decentraland.org
Apache License 2.0
136 stars 93 forks source link

Scenes past and present have most textures displaying in red #5530

Closed cybermikedent closed 10 months ago

cybermikedent commented 1 year ago

Hey folks

Most of my scenes past and present are displaying nearly all of the textures in red. I have tried redeploying and the problem still persists.

If someone could look into this i would greatly appreciate it.

Decentraland locations of scenes showing graphic anomalies

-35,75 54,43 49,61 -70,-12 (takes a v long time to load the castle) -44,63

-Some of the scenes were built over a year ago and I'm unsure where the source files are. Perhaps there is some simple code which was altered in a recent update causing these graphic anomalies to show up.

Many thanks

-Cybermike

Builds_DCL_Errors_A01 Builds_DCL_Errors_A02 Builds_DCL_Errors_A03 Builds_DCL_Errors_A04 Builds_DCL_Errors_A05

cfravel commented 1 year ago

The Unity Cafe in the Conference Center. Too 14,100

cfravel commented 1 year ago

with rebuilding and redeploying with dcl 3.18.0 and ecs 6.12.0 the magenta materials are back to normal in the Unity Cafe.

cybermikedent commented 1 year ago

Can someone on the foundation please look into this, we are trying to get this build to run correctly which will host dj's and live music. The scenes look fine in sdk and builder, there must be some simple code causing these anomalies in world. Thank you Vesca P Club_WIP_A96 -location 138,1

aixaCode commented 1 year ago

Yes, we have been able to identify the issue, we are taking a look at that.

cybermikedent commented 1 year ago

That's super news, many thanks!!! @aixaCode

aixaCode commented 1 year ago

@cybermikedent The issue appears because you are using the same texture as albedo and normal map, with some changes on our side, the pre-processing we do on the assets it's always setting those as normal map. In general, you should avoid using the same image file for both the albedo texture and the normal map or the emissive map of a material. Use separate files, even if identical. That's how you can fix the issue.

cybermikedent commented 1 year ago

Thanks for the feedback @aixaCode Is there any way that error flag could simply be disabled in this instance? have multiple scenes deployed for various community members from way back and not even sure where the source files are... it was never an issue in the past. Regards - CM

cybermikedent commented 1 year ago

Redeployed 2 scenes (without changing texture in diffuse and normal slot also) and they look perfect, if someone did something, Thank you so much!

did so with latest sdk... have not tried builder yet..

cybermikedent commented 1 year ago

my 2nd deploy reverted to red again unfortunately. https://play.decentraland.org/ Builds_DCL_Errors_A06 ?position=48%2C61&realm=heimdallr&island=peer-wc11hla

if there was a way of disabling this error flag it would be really great, thank @aixaCode

cybermikedent commented 11 months ago

Can this error flag be removed, if i replace the texture with a lower size black and white for the normal map it will be counting extra materials in scene and will go over the limits. Can you please put the state back to how it was before this error ruined all my scenes please

cybermikedent commented 11 months ago

got cyberpunk alley working all good now, when i get another scene sorted, i will close this topic, many thanks