SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
85 stars 18 forks source link

Alien Text Bug. #1620

Closed Bradler26 closed 3 years ago

Bradler26 commented 4 years ago

I've recently bumped into this bug a few times lately and thought I would just share some info as to what might cause it. I believe it may have been reported before but I can't find any issues about it so maybe this is the first time anyone has spoke about it.

When playing on a server that has many structures in a close area you will often get a lag spike and then all of a sudden all game text is broken. The only ways I've found to fix this is to die in-game and respawn somewhere that doesn't have as many structures or to restart your game as it ruins the text even on the default menus of the game. This has happened to me on my server when going into Seattle when there are too many items placed and it also happened to me yesterday as I walked across a map on someone else's server.

I'm 90% sure its caused by too many items being placed in one area as I never get reports after a fresh map wipe. It's not too serious of a bug as most of the time server owners try to keep their maps clean so it doesn't happen often but maybe its something that could be looked into in the future. image

CatzMR commented 4 years ago

Large maps and relatively stuttered servers are prone to appear. After I appeared, I used the / tp command to send it to another place. Once I stuttered again, it returned to normal.

ghost commented 4 years ago

This issue has been around as long as I can remember, I always thought it had to do with running out of RAM (Video Card memory or actual ram?). It has something directly to do with the amount of objects/players/etc though, as you highlighted above. Always fixed by Restart. Would probably be smart to monitor your resources and send unturned.log when this occurs.

CatzMR commented 4 years ago

Sudden stuttering will cause this problem, but stuttering will return to normal again.

Bradler26 commented 4 years ago

@PandahutMiku Yeh will do next time it happens. Don't think a lack of resources causes it.

SDGNelson commented 4 years ago

I have seen a few Unity logs which report running out of font atlas space which I think is related. There may be so many signs in an area that Unity is breaking internally. My hope has been that it would get fixed in one of the LTS updates, but no luck on that so far. Considering they made TextMesh Pro official rather than continuing the built-in text components maybe we should transition toward that... but it still feels like a 3rd party dependency.

GoryBark commented 4 years ago

I have run across this on a server I am staff on. We seem to have figured it out. I don't know the basics but it is to do with signs and lots of coloured text, for example: flags on signs. This can cause the game to bug out and crash everyone near said signs. Contact me on discord if you need any more info, as I don't come on GitHub often. GoryBark18481#2387 <3

Johnanater commented 4 years ago

I asked my server staff if they knew anything. Divisioniz also says that it's caused by signs

"Alien bug issue if it happens in a server then its most likely because of placards, signs with colored text https://cdn.discordapp.com/attachments/501036806075187220/702706173320757278/unknown.png"

Which is kind of weird, because I can recall sometimes I would boot up the game and the menu would be like that, after I restarted the game it was fixed again.

XanderCodes commented 4 years ago

I asked my server staff if they knew anything. Divisioniz also says that it's caused by signs

"Alien bug issue if it happens in a server then its most likely because of placards, signs with colored text https://cdn.discordapp.com/attachments/501036806075187220/702706173320757278/unknown.png"

Which is kind of weird, because I can recall sometimes I would boot up the game and the menu would be like that after I restarted the game it was fixed again.

We are having the same alien text issue with some players on our server, and with it being RP, having placards everywhere with colored text. We have restricted this to one coloured sign per store, but the server is not up, so now way to see if it had an effect.

Would be nice to know what is ACTUALLY causing it though

XanderCodes commented 4 years ago

Would be nice to know what is ACTUALLY causing it though

So after some troubleshooting, it turns out that because of the number of signs in Seattle on our roleplay server, players who are in that area can't join, because their game immediately crashes when they attempt to. Some players experience this text bug when near the area, and if anyone walks into the area, their game crashes, or they get the alien text... a usually full server has had nobody playing for the past couple hours because everybody logged off in the same, sign-filled area.

Is the only solution to reset barricades?

Bradler26 commented 4 years ago

Wipe the map or install wrecking ball and wreck signs across the map. If you cant login to get someone to wreck the signs you can delete their player data folder and then they will hopefully spawn far enough away to not crash.

XanderCodes commented 4 years ago

Wipe the map or install wrecking ball and wreck signs across the map. If you cant login to get someone to wreck the signs you can delete their player data folder and then they will hopefully spawn far enough away to not crash.

Yeah this is what I ended up doing along with the server owner.

Would still be really really nice if this was fixed... Even partly fixed.

We have had to outright ban coloured signs, and signs in general... Which is painful for an RP server full of shops that need to show their prices.

XanderCodes commented 4 years ago

Any update on this? It's killing our server... people hate not being able to use coloured signs.. and because we don't know if it's coloured signs or signs overall, we have had to limit the number of signs people are using.

khakers commented 4 years ago

This bug still seems to be showing up for some people despite the upgrade to textmeshpro.

https://media.discordapp.net/attachments/324233420152504331/748327280937271296/Screen_Shot_2020-08-27_at_9.44.28_am.png

https://media.discordapp.net/attachments/324233420152504331/747354476150784050/unknown.png

educatalan02 commented 4 years ago

Is he using a Translation?

SDGNelson commented 4 years ago

Signs were updated to TMP, but not the rest of the user interface yet.

SDGNelson commented 3 years ago

All of the built-in UI uses TMP with uGUI by default after the UI refactor now.