Character looses Texture on Respawn

Cracter is looing texture on Rejoining the space after timeout. any solution will be helpful
image.png

Original Post on Discord

by user 406778568597831690

@:cactus: needle admin anything on this

by user 406778568597831690

Hi how do you spawn the character?

i am using synced camera script for that

by user 406778568597831690

My Players are coming via the camera prefab.

by user 406778568597831690

@:cactus: needle admin

by user 406778568597831690

@Marcel_Wiessler1 :cactus:

by user 406778568597831690

Please don’t ping every few hours. Timezones and work hours are a thing :wink:

I am trying to figure out a solution, that’s why, so far haven’t got any clue on this, need has to go somewhere

by user 406778568597831690

Can you write a bit more about what you’re doing? It’s not clear how you’re spawning the characters via the camera prefab. Some screenshots could help

ok, I am using Synced Camera Script to spawn the character in multiplayer environment, but the prefab looses texture as shown in picture above.

My use case is simple I am creating a multiplayer page where a lot of people can join and everyone can roam around for now, if there is any other way as well please let me know
image.png

by user 406778568597831690

Do you have any errors? There shouldn’t be any corelation between “timeouting” and “loosing textures”.

Is there a code that edits the materials during runtime?

i have written anything for texture or mesh, i have only written the player movement.

by user 406778568597831690

Ok.

Any errors in the console?

As per my debugging the Game object is getting destryed here and since the players are still connected they resapawn but as its not a reload while spawing it again textures are going away

by user 406778568597831690

Ok, going to ask again, just in case, do you have any errors in the console?

Since, this is an odd behavior.

yes

by user 406778568597831690

i will share it i a bit

by user 406778568597831690

Suspicion so far would be that it could be a bug related to discarding texture data for dynamically loaded models and then the textures not properly being reloaded when needed again. Would be great that after some more info is shared, you @kipash :cactus: could support here on having clean repro steps so you can open an actionable issue - thanks!