It's probable that you need to apply this hotfix which is specifically about a crash scenario around the Thai language:
13.0.88
ASP.NET Core - Live site crash for .NET 6.0 sites using the Thai content culture
For projects targeting .NET 6.0, using the Thai (th-th) content culture for a site caused the live site to crash with an unhandled 'OutOfRangeException' error.