decentraland / unity-renderer

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

[QA] A bright white light appears on screen for a number of users #5698

Closed anicalbano closed 11 months ago

anicalbano commented 1 year ago

Description of the issue: In some ocations, while building and adding materials, some users reported a white light appearing on screen that doesn't go away after refreshing. There are no specific repro steps to catch the issue, since it happened in isolated situations.

Some of the reports came from https://play.decentraland.org/?realm=boedo.dcl.eth&position=0%2C0

And for additional info, we have the discussions on Slack: https://decentralandteam.slack.com/archives/C01QVR7TJK1/p1694433886766899 https://decentralandteam.slack.com/archives/C01QVR7TJK1/p1694103722078469

image

https://github.com/decentraland/unity-renderer/assets/139157886/6b1591df-11a4-47ca-b60e-5ddce329dcb0

dalkia commented 1 year ago

The bright light is a result of a bad material forming that got introduced with the latest Unity release. The bright light can be seen only in Mac WebGL, but in other platforms the material is not being displayed correctly. More info on the different results on this thread.

Private Zenhub Image Correct material displayed

Private Zenhub Image Issue in Mac WebGL

Private Zenhub Image Issue in Windows WebGL

The issue seems to occur when a mesh has scale 0 on any of its axis. This can be tested on this test branch . You can test it by going to -60, 0 and walking north.

Since we cannot be playing with the scale of meshes, we should trying fixing the material. Here is latest Pravus suggestion to try out