unity-renderer icon indicating copy to clipboard operation
unity-renderer copied to clipboard

[GolfCraft] Some assets end up with white textures

Open Kinerius opened this issue 2 years ago • 2 comments

Problem

Scene: 48,-44

When loading some courses from that scene (Go to training and press play), there is a race condition on loading the same texture dependency (Only happens when loading asset bundles) from multiple sources at the same time, the first one loads ok, but the second one fails because its already loaded, and then all promises fail, it's hard to reproduce.

Solution

  • [] Fix the race condition

Kinerius avatar Apr 04 '23 12:04 Kinerius

Hi! We added a debug game mode that allows to load several maps in a short amount of time.

How to use it:

  • Go to https://play.decentraland.org/?position=48%2C-43
  • Press Shift+1 to start a game
  • Press Shift+2 to end a game

I created a list of different maps, the debug game mode will load the next map in the list every time you press 1

Video reference: https://www.youtube.com/watch?v=uJeXHdRSXHM

What to look for:

  • White elements on golf course (more frequent) image

  • White elements on building (less frequent) image

Let us know if you have some feedback on the debug mode.

EibrielInv avatar Jul 20 '23 14:07 EibrielInv

Eibriel shared that this still happens, there are multiple videos recorded to show this: https://drive.google.com/drive/folders/10RGrCG0p97dqVf4oSzbzvx73i5GX5NaH

Kaze-No-Kai avatar Nov 10 '23 07:11 Kaze-No-Kai