Search Unity

Bug Possible Memory Leak with Localization

Discussion in 'Localization Tools' started by jjejj87, Jul 15, 2022.

  1. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Hi, I've noticed lately that when I change language to either Chinese, Korean or Japanese it starts to leak memory from that point on. From a functioning point of view, it works just fine except it triggers 1mb every second. The memory usage starts to climb crazy.

    I've tried profiling and memory profilers but not much luck there either.

    Is this a known issue?
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    No there's no known issues regarding memory leaks. Do you have a reproducible project you could submit with a bug report?
     
  3. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    I am not open to the idea of submitting the whole project file, but I will try to create a repo.

    Also, it seems to be more prominant in Windows 7 (I know...win 7...but my clients use it so I have no voice over this matter. The game doesn't support Windows 7 officially but it still runs...)
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    I can't think of any reason why it would happen on different versions of Windows. If you are able to reproduce it with a sample project that would be great.

    You could also try using the memory profiler to see what could using up the extra memory, maybe if I know what it is I may be a able to figure it out.
    https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.0/manual/index.html
     
    MartinTilo likes this.
  5. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Thanks, I am almost certain something is going on related to the localization (don't know if this is a bug or on my end yet).

    I've been profiling this all day, and I've noticed something strange.
    When I change the localization in game, (so I change the local via script) it goes into a massive lag spike. It wasn't really apparent, but I started to notice that Greek and Chinese taking a whole 1 second or more...and Greek would lag every time a new text string is used.
    Unity 2021.3.6, Package 1.3.2

    Code (CSharp):
    1. public void ChangeLocale(int _id)
    2.         {
    3.         if (state == State.Called) return;
    4.  
    5.         StartCoroutine(SetLocale(_id));
    6.         }
    7.     public IEnumerator SetLocale(int _id)
    8.         {
    9.         state = State.Called;
    10.         yield return LocalizationSettings.InitializationOperation;
    11.         LocalizationSettings.SelectedLocale = LocalizationSettings.AvailableLocales.Locales[langRef[_id]];
    12.         state = State.None;
    13.         }
    14.     public string GetTranslated(string _table, string _ref)
    15.         {
    16.         return LocalizationSettings.StringDatabase.GetLocalizedString(_table, _ref);
    17.         }
    So basically I call SetLocale and use GetTranslated to retrieve string. I also use string localization event on static texts in UI.

    Now, check the profiler capture
    Untitled-1.png
    For some reason, the audio thread goes into a massive overdrive. Nothing is being played other than background music track and button click sound (which gets played on other button clicks, but it doesn't do this)

    Is this a bug or am I doing something wrong? Could be the cause of all this.


    Here's my font settings. I am using TMPro, Noto Sans. I am posting this, since it could be the fall back fonts (3), but Greek has the worst performance (which is not part of the fallback fonts) so this is a mystery as well.
    Untitled-2.png
     
    Last edited: Jul 19, 2022
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    I cant see why this would happen. The spikes could be caused by using synchronous loading when your first load a String Table but this would only happen the first time. You can enable preloading on the tables to avoid this, that may also explain the spike when switching locale as the tables will be getting loaded in the background. Are you able to share the project or an example project that has the same problems?
     
  7. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    I am trying 2022.1 now. Just in case this is some 2021 issue.

    As for the issue itself, I also find it strange. I get that loading in a new locale can lag (but it shouldn't...I mean, if I loaded all the translation into a scriptable object it won't lag but that aside...) it does this every time a text is shown. I didn't notice this until today, because I don't develop in Chinese or Greek, but when I added a text prompt for picking up items, which showed "Picked up item: AAA" along this line, I noticed Chinese and Greek started lagging.

    But yes, something is going on. The memory leak, Chinese and Greek font going crazy....something is going on.

    I will make a repo case and send it tonight. I am pretty confident I can reproduce it as it does this in game lobby and not just in game as well.
     
    karl_jones likes this.
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    There shouldn't be lagging for one language but not that other. It also shouldn't be something noticeable unless you have a lot of assets so I suspect there's something else going on here. Post the bug number when you submit and I can take a look right away.
     
  9. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Just made a repo.
    Seems like Canvas update calls like 200000 times...
    and the audio registers 200 instances...
    Anyway, check the repo and try it for yourself. The Greek takes a good second to show up.
    The below is from a repo

    Untitled-3.png

    Case 10721

    Also, I get the weird console error: Objects are trying to be loaded during a domain backup....it must be related as this showed up on repo as well.
     
    karl_jones likes this.
  10. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Initialize engine version: 2021.3.5f1 (40eb3a945986)
    [Subsystems] Discovering subsystems at path C:/Games/Steam/steamapps/common/Project Lazarus/Experimental/Project Lazarus_Data/UnitySubsystems
    GfxDevice: creating device client; threaded=0; jobified=0
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce MX150 (ID=0x1d10)
    Vendor: NVIDIA
    VRAM: 1983 MB
    Driver: 31.0.15.1659
    <RI> Initializing input.

    New input system (experimental) initialized
    <RI> Input initialized.

    <RI> Initialized touch support.

    UnloadTime: 1.243700 ms
    Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 1.010300 ms
    Is Keyboard Now
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    LobbyController:ControlsChanged(PlayerInput)
    UnityEngine.Events.InvokableCall`1:Invoke(T1)
    UnityEngine.Events.UnityEvent`1:Invoke(T0)
    UnityEngine.InputSystem.PlayerInput:OnEnable()

    Reading UFD File
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnlockController:ReadFile()
    UnlockController:CheckAndReadFile()
    LobbyController:Start()

    Unloading 70 unused Assets to reduce memory usage. Loaded Objects now: 14282.
    Total: 15.195300 ms (FindLiveObjects: 2.058800 ms CreateObjectMapping: 1.095700 ms MarkObjects: 11.831500 ms DeleteObjects: 0.208600 ms)

    Unloading 5 Unused Serialized files (Serialized files now loaded: 3)
    UnloadTime: 7.548300 ms
    Is Keyboard Now
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    PlayerController:ControlsChanged(PlayerInput)
    UnityEngine.Events.InvokableCall`1:Invoke(T1)
    UnityEngine.Events.UnityEvent`1:Invoke(T0)
    UnityEngine.InputSystem.PlayerInput:OnEnable()

    Starting Nature Renderer...

    Hardware Info
    ---
    Graphics Device Name: NVIDIA GeForce MX150
    Graphics Device Type: Direct3D11
    Graphics Device Vendor: NVIDIA
    Graphics Device Vendor ID: 4318
    Graphics Device Version: Direct3D 11.0 [level 11.1]
    Graphics Memory: 1983
    Graphics MultiThreaded: False
    Graphics Shader Level: 50
    Max Compute Buffer Inputs: 32
    Processor Count: 8
    Supports Compute Shaders: True
    Supports Instancing: True
    Memory: 16244
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    VisualDesignCafe.Rendering.Nature.NatureRenderer:printDebugInfo()
    VisualDesignCafe.Rendering.Nature.NatureRenderer:OnEnable()

    Unloading 109 unused Assets to reduce memory usage. Loaded Objects now: 17396.
    Total: 16.617600 ms (FindLiveObjects: 1.244800 ms CreateObjectMapping: 0.768800 ms MarkObjects: 12.970400 ms DeleteObjects: 1.633200 ms)

    Settings Applied
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    SettingsController:ApplySettings()
    <NewGameThread>d__27:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

    Reading UFD File
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnlockController:ReadFile()
    UnlockController:CheckAndReadFile()
    <NewGameThread>d__27:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

    d3d11: failed to create buffer (target 0x20 mode 0 size 640) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 640) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 28672) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 128) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 4) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 128) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 256) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 256) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 128) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 4) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 128) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 256) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 256) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 2048) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 4) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 6144) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 512) [0x887A0005]
    d3d11: failed to create buffer (target 0x20 mode 0 size 4) [0x887A0005]
    d3d11: failed to create buffer (target 0x90 mode 0 size 512) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 1024) [0x887A0005]
    d3d11: failed to create buffer (target 0x10 mode 0 size 1024) [0x887A0005]
    d3d11: failed to create 2D texture id=1971 width=128 height=4 mips=1 dxgifmt=10 [D3D error was 887a0005]
    d3d11: failed to create 2D texture shader resource view id=1971 [D3D error was 80070057]
    d3d11: failed to create 2D texture id=1972 width=128 height=1 mips=1 dxgifmt=10 [D3D error was 887a0005]
    d3d11: failed to create 2D texture shader resource view id=1972 [D3D error was 80070057]
    Boss Target Num: 1
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    <Initialize>d__6:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

    d3d11: failed to create buffer (target 0x200 mode 1 size 544) [0x887A0005]
    Crash!!!
    SymInit: Symbol-SearchPath: '.;C:\Games\Steam\steamapps\common\Project Lazarus;C:\Games\Steam\steamapps\common\Project Lazarus\Experimental;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'Kamo'
    OS-Version: 10.0.0
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus.exe:project Lazarus.exe (00007FF6C59D0000), size: 884736 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2021.3.5.60218
    C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FFD69C20000), size: 2031616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFD68D20000), size: 729088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFD67330000), size: 2764800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\UnityPlayer.dll:UnityPlayer.dll (00007FFD0C400000), size: 29868032 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2021.3.5.60218
    C:\WINDOWS\System32\USER32.dll:USER32.dll (00007FFD68B80000), size: 1654784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\win32u.dll:win32u.dll (00007FFD67CA0000), size: 135168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\GDI32.dll:GDI32.dll (00007FFD69B00000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\gdi32full.dll:gdi32full.dll (00007FFD675E0000), size: 1654784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\msvcp_win.dll:msvcp_win.dll (00007FFD67800000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FFD67B80000), size: 1024000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\ole32.dll:eek:le32.dll (00007FFD680E0000), size: 1404928 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\combase.dll:combase.dll (00007FFD697C0000), size: 3366912 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\RPCRT4.dll:RPCRT4.dll (00007FFD68E40000), size: 1179648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.628
    C:\WINDOWS\SYSTEM32\VERSION.dll:VERSION.dll (00007FFD5CAB0000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\msvcrt.dll:msvcrt.dll (00007FFD67D50000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.18362.1
    C:\WINDOWS\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFD67780000), size: 524288 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    C:\WINDOWS\System32\advapi32.dll:advapi32.dll (00007FFD69100000), size: 667648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\WINDOWS\System32\sechost.dll:sechost.dll (00007FFD683E0000), size: 618496 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFD68240000), size: 335872 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\SETUPAPI.dll:SETUPAPI.dll (00007FFD691B0000), size: 4653056 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\cfgmgr32.dll:cfgmgr32.dll (00007FFD67950000), size: 303104 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\bcrypt.dll:bcrypt.dll (00007FFD67B50000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    C:\WINDOWS\System32\SHELL32.dll:SHELL32.dll (00007FFD68480000), size: 7229440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.719
    C:\WINDOWS\System32\shcore.dll:shcore.dll (00007FFD68F60000), size: 692224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\WINDOWS\System32\windows.storage.dll:windows.storage.dll (00007FFD66BB0000), size: 7864320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.719
    C:\WINDOWS\System32\profapi.dll:profapi.dll (00007FFD66AF0000), size: 143360 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\powrprof.dll:powrprof.dll (00007FFD66B20000), size: 303104 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\UMPDC.dll:UMPDC.dll (00007FFD66AE0000), size: 65536 (result: 0), SymType: '-deferred-', PDB: ''
    C:\WINDOWS\System32\kernel.appcore.dll:kernel.appcore.dll (00007FFD66B90000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\cryptsp.dll:cryptsp.dll (00007FFD67C80000), size: 94208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\OLEAUT32.dll:OLEAUT32.dll (00007FFD696F0000), size: 802816 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFD443C0000), size: 1400832 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\IMM32.dll:IMM32.dll (00007FFD680B0000), size: 188416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\WINMM.dll:WINMM.dll (00007FFD63890000), size: 147456 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\CRYPT32.dll:CRYPT32.dll (00007FFD67A00000), size: 1347584 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.592
    C:\WINDOWS\SYSTEM32\GLU32.dll:GLU32.dll (00007FFD50E30000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\MSASN1.dll:MSASN1.dll (00007FFD66B70000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\HID.DLL:HID.DLL (00007FFD656F0000), size: 57344 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\WS2_32.dll:WS2_32.dll (00007FFD67E00000), size: 454656 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\WINMMBASE.dll:WINMMBASE.dll (00007FFD63860000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\dwmapi.dll:dwmapi.dll (00007FFD64D00000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    C:\WINDOWS\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFD61BD0000), size: 983040 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.778
    C:\WINDOWS\SYSTEM32\dxcore.dll:dxcore.dll (00007FFD65750000), size: 131072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Games\Steam\gameoverlayrenderer64.dll:gameoverlayrenderer64.dll (00007FFD374D0000), size: 1953792 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.30.20.28
    C:\WINDOWS\System32\PSAPI.DLL:pSAPI.DLL (00007FFD67DF0000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamclient64.dll:steamclient64.dll (00007FFD0AEC0000), size: 22228992 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.30.20.28
    C:\WINDOWS\System32\imagehlp.dll:imagehlp.dll (00007FFD68090000), size: 118784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FFD66060000), size: 237568 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Games\Steam\vstdlib_s64.dll:vstdlib_s64.dll (00007FFD25B60000), size: 528384 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.30.20.28
    C:\Games\Steam\tier0_s64.dll:tier0_s64.dll (00007FFD25BF0000), size: 1523712 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.30.20.28
    C:\WINDOWS\SYSTEM32\MSWSOCK.dll:MSWSOCK.dll (00007FFD66350000), size: 421888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\Secur32.dll:Secur32.dll (00007FFD4F830000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FFD669D0000), size: 192512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL:CRYPTBASE.DLL (00007FFD66520000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\uxtheme.dll:uxtheme.dll (00007FFD64520000), size: 626688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.449
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\GameAssembly.dll:GameAssembly.dll (00007FFD07D00000), size: 52142080 (result: 0), SymType: '-deferred-', PDB: ''
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\baselib.dll:baselib.dll (00007FFD3A1C0000), size: 417792 (result: 0), SymType: '-deferred-', PDB: ''
    C:\WINDOWS\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFD65310000), size: 2048000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\NVUnityPlugin.DLL:NVUnityPlugin.DLL (00007FFD22CC0000), size: 1536000 (result: 0), SymType: '-deferred-', PDB: ''
    C:\WINDOWS\System32\MSCTF.dll:MSCTF.dll (00007FFD682A0000), size: 1269760 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\d3d11.dll:d3d11.dll (00007FFD628B0000), size: 2469888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\dxgi.dll:dxgi.dll (00007FFD657E0000), size: 962560 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvldumdx.dll:nvldumdx.dll (00007FFD22EE0000), size: 1142784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\cryptnet.dll:cryptnet.dll (00007FFD5CA80000), size: 192512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\drvstore.dll:drvstore.dll (00007FFD5C940000), size: 1261568 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\devobj.dll:devobj.dll (00007FFD668E0000), size: 172032 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\wldp.dll:wldp.dll (00007FFD665B0000), size: 167936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    C:\WINDOWS\System32\WINTRUST.dll:WINTRUST.dll (00007FFD679A0000), size: 376832 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\system32\rsaenh.dll:rsaenh.dll (00007FFD65EC0000), size: 208896 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvwgf2umx.dll:nvwgf2umx.dll (00007FFD05300000), size: 44015616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 31.0.15.1659
    C:\WINDOWS\System32\clbcatq.dll:clbcatq.dll (00007FFD69B30000), size: 663552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2001.12.10941.16384
    C:\WINDOWS\system32\wbem\wbemprox.dll:wbemprox.dll (00007FFD5C610000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\wbemcomn.dll:wbemcomn.dll (00007FFD52B70000), size: 540672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\wbem\wbemsvc.dll:wbemsvc.dll (00007FFD52510000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\wbem\fastprox.dll:fastprox.dll (00007FFD52530000), size: 1052672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\amsi.dll:amsi.dll (00007FFD4D100000), size: 86016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\USERENV.dll:USERENV.dll (00007FFD66A00000), size: 151552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2205.7-0\MpOav.dll:MpOav.dll (00007FFD4D080000), size: 503808 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 4.18.2205.7
    C:\WINDOWS\System32\MMDevApi.dll:MMDevApi.dll (00007FFD5B4B0000), size: 466944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (00007FFD5B530000), size: 1429504 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\wintypes.dll:wintypes.dll (00007FFD62090000), size: 1388544 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll:resourcepolicyclient.dll (00007FFD64D30000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\lib_burst_generated.dll:lib_burst_generated.dll (00007FFD385C0000), size: 294912 (result: 0), SymType: '-deferred-', PDB: ''
    C:\WINDOWS\SYSTEM32\xinput1_4.dll:xinput1_4.dll (00007FFD3AED0000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.329
    C:\WINDOWS\SYSTEM32\inputhost.dll:inputhost.dll (00007FFD5BAD0000), size: 1155072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (00007FFD63780000), size: 868352 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (00007FFD61350000), size: 3317760 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.207
    C:\WINDOWS\SYSTEM32\PROPSYS.dll:pROPSYS.dll (00007FFD64930000), size: 978944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.18362.267
    C:\WINDOWS\SYSTEM32\ntmarta.dll:ntmarta.dll (00007FFD65B40000), size: 200704 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\xinput1_3.dll:xinput1_3.dll (0000000000400000), size: 122880 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 9.18.944.0
    C:\WINDOWS\SYSTEM32\TextInputFramework.dll:TextInputFramework.dll (00007FFD5BBF0000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igd10iumd64.dll:igd10iumd64.dll (00007FFD59D10000), size: 23580672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8682
    C:\WINDOWS\SYSTEM32\ncrypt.dll:ncrypt.dll (00007FFD66620000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\NTASN1.dll:NTASN1.dll (00007FFD665E0000), size: 241664 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igdgmm64.dll:igdgmm64.dll (00007FFD5CAC0000), size: 2355200 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8682
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igc64.dll:igc64.dll (00007FFD570A0000), size: 46538752 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8682
    C:\Windows\System32\OneCoreCommonProxyStub.dll:OneCoreCommonProxyStub.dll (00007FFD3F9D0000), size: 495616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Windows\System32\OneCoreUAPCommonProxyStub.dll:OneCoreUAPCommonProxyStub.dll (00007FFD5FB20000), size: 7786496 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\dcomp.dll:dcomp.dll (00007FFD63140000), size: 1949696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.752
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\steam_api64.dll:steam_api64.dll (00007FFD2A7B0000), size: 311296 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 6.91.21.57
    C:\WINDOWS\SYSTEM32\gpapi.dll:gpapi.dll (00007FFD65700000), size: 139264 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvngx.dll:nvngx.dll (00007FFD27AA0000), size: 491520 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 30.0.14.9516
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\_nvngx.dll:_nvngx.dll (00007FFD22920000), size: 1667072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\nvapi64.dll:nvapi64.dll (00007FFD53410000), size: 7634944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\DEVRTL.dll:DEVRTL.dll (00007FFD5C5F0000), size: 77824 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\SPINF.dll:SPINF.dll (00007FFD5B710000), size: 118784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\Windows\System32\Windows.UI.dll:Windows.UI.dll (00007FFD5BC90000), size: 1380352 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.387

    ========== OUTPUTTING STACK TRACE ==================

    0x00007FFD0D0B3449 (UnityPlayer) UnityMain
    SymInit: Symbol-SearchPath: '.;C:\Games\Steam\steamapps\common\Project Lazarus;C:\Games\Steam\steamapps\common\Project Lazarus\Experimental;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'Kamo'
    OS-Version: 10.0.0
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus.exe:project Lazarus.exe (00007FF6C59D0000), size: 884736 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus.exe', fileVersion: 2021.3.5.60218
    C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FFD69C20000), size: 2031616 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntdll.dll', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFD68D20000), size: 729088 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNEL32.DLL', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFD67330000), size: 2764800 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNELBASE.dll', fileVersion: 10.0.18362.778
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\UnityPlayer.dll:UnityPlayer.dll (00007FFD0C400000), size: 29868032 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\UnityPlayer.dll', fileVersion: 2021.3.5.60218
    C:\WINDOWS\System32\USER32.dll:USER32.dll (00007FFD68B80000), size: 1654784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\USER32.dll', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\win32u.dll:win32u.dll (00007FFD67CA0000), size: 135168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\win32u.dll', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\GDI32.dll:GDI32.dll (00007FFD69B00000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\GDI32.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\gdi32full.dll:gdi32full.dll (00007FFD675E0000), size: 1654784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\gdi32full.dll', fileVersion: 10.0.18362.778
    C:\WINDOWS\System32\msvcp_win.dll:msvcp_win.dll (00007FFD67800000), size: 647168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\msvcp_win.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FFD67B80000), size: 1024000 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ucrtbase.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\ole32.dll:eek:le32.dll (00007FFD680E0000), size: 1404928 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ole32.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\combase.dll:combase.dll (00007FFD697C0000), size: 3366912 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\combase.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\RPCRT4.dll:RPCRT4.dll (00007FFD68E40000), size: 1179648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\RPCRT4.dll', fileVersion: 10.0.18362.628
    C:\WINDOWS\SYSTEM32\VERSION.dll:VERSION.dll (00007FFD5CAB0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\VERSION.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\msvcrt.dll:msvcrt.dll (00007FFD67D50000), size: 647168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\msvcrt.dll', fileVersion: 7.0.18362.1
    C:\WINDOWS\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFD67780000), size: 524288 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\bcryptPrimitives.dll', fileVersion: 10.0.18362.295
    C:\WINDOWS\System32\advapi32.dll:advapi32.dll (00007FFD69100000), size: 667648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\advapi32.dll', fileVersion: 10.0.18362.752
    C:\WINDOWS\System32\sechost.dll:sechost.dll (00007FFD683E0000), size: 618496 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\sechost.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFD68240000), size: 335872 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SHLWAPI.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\SETUPAPI.dll:SETUPAPI.dll (00007FFD691B0000), size: 4653056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SETUPAPI.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\cfgmgr32.dll:cfgmgr32.dll (00007FFD67950000), size: 303104 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\cfgmgr32.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\bcrypt.dll:bcrypt.dll (00007FFD67B50000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\bcrypt.dll', fileVersion: 10.0.18362.267
    C:\WINDOWS\System32\SHELL32.dll:SHELL32.dll (00007FFD68480000), size: 7229440 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SHELL32.dll', fileVersion: 10.0.18362.719
    C:\WINDOWS\System32\shcore.dll:shcore.dll (00007FFD68F60000), size: 692224 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\shcore.dll', fileVersion: 10.0.18362.752
    C:\WINDOWS\System32\windows.storage.dll:windows.storage.dll (00007FFD66BB0000), size: 7864320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\windows.storage.dll', fileVersion: 10.0.18362.719
    C:\WINDOWS\System32\profapi.dll:profapi.dll (00007FFD66AF0000), size: 143360 (result: 0), SymType: '-nosymbols-', PDB: 'C:\WINDOWS\System32\profapi.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\powrprof.dll:powrprof.dll (00007FFD66B20000), size: 303104 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\powrprof.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\UMPDC.dll:UMPDC.dll (00007FFD66AE0000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\UMPDC.dll'
    C:\WINDOWS\System32\kernel.appcore.dll:kernel.appcore.dll (00007FFD66B90000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\kernel.appcore.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\cryptsp.dll:cryptsp.dll (00007FFD67C80000), size: 94208 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\cryptsp.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\OLEAUT32.dll:OLEAUT32.dll (00007FFD696F0000), size: 802816 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\OLEAUT32.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFD443C0000), size: 1400832 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\OPENGL32.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\IMM32.dll:IMM32.dll (00007FFD680B0000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\IMM32.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\WINMM.dll:WINMM.dll (00007FFD63890000), size: 147456 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMM.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\CRYPT32.dll:CRYPT32.dll (00007FFD67A00000), size: 1347584 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\CRYPT32.dll', fileVersion: 10.0.18362.592
    C:\WINDOWS\SYSTEM32\GLU32.dll:GLU32.dll (00007FFD50E30000), size: 180224 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\GLU32.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\System32\MSASN1.dll:MSASN1.dll (00007FFD66B70000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MSASN1.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\HID.DLL:HID.DLL (00007FFD656F0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\HID.DLL', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\WS2_32.dll:WS2_32.dll (00007FFD67E00000), size: 454656 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\WS2_32.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\WINMMBASE.dll:WINMMBASE.dll (00007FFD63860000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMMBASE.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\dwmapi.dll:dwmapi.dll (00007FFD64D00000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dwmapi.dll', fileVersion: 10.0.18362.267
    C:\WINDOWS\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFD61BD0000), size: 983040 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINHTTP.dll', fileVersion: 10.0.18362.778
    C:\WINDOWS\SYSTEM32\dxcore.dll:dxcore.dll (00007FFD65750000), size: 131072 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dxcore.dll', fileVersion: 10.0.18362.1
    C:\Games\Steam\gameoverlayrenderer64.dll:gameoverlayrenderer64.dll (00007FFD374D0000), size: 1953792 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\gameoverlayrenderer64.dll', fileVersion: 7.30.20.28
    C:\WINDOWS\System32\PSAPI.DLL:pSAPI.DLL (00007FFD67DF0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\PSAPI.DLL', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamclient64.dll:steamclient64.dll (00007FFD0AEC0000), size: 22228992 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamclient64.dll', fileVersion: 7.30.20.28
    C:\WINDOWS\System32\imagehlp.dll:imagehlp.dll (00007FFD68090000), size: 118784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\imagehlp.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FFD66060000), size: 237568 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL', fileVersion: 10.0.18362.1
    C:\Games\Steam\vstdlib_s64.dll:vstdlib_s64.dll (00007FFD25B60000), size: 528384 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\vstdlib_s64.dll', fileVersion: 7.30.20.28
    C:\Games\Steam\tier0_s64.dll:tier0_s64.dll (00007FFD25BF0000), size: 1523712 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\tier0_s64.dll', fileVersion: 7.30.20.28
    C:\WINDOWS\SYSTEM32\MSWSOCK.dll:MSWSOCK.dll (00007FFD66350000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSWSOCK.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\Secur32.dll:Secur32.dll (00007FFD4F830000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\Secur32.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FFD669D0000), size: 192512 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SSPICLI.DLL', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL:CRYPTBASE.DLL (00007FFD66520000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\uxtheme.dll:uxtheme.dll (00007FFD64520000), size: 626688 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\uxtheme.dll', fileVersion: 10.0.18362.449
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\GameAssembly.dll:GameAssembly.dll (00007FFD07D00000), size: 52142080 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\GameAssembly.dll'
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\baselib.dll:baselib.dll (00007FFD3A1C0000), size: 417792 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\baselib.dll'
    C:\WINDOWS\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFD65310000), size: 2048000 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dbghelp.dll', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\NVUnityPlugin.DLL:NVUnityPlugin.DLL (00007FFD22CC0000), size: 1536000 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\NVUnityPlugin.DLL'
    C:\WINDOWS\System32\MSCTF.dll:MSCTF.dll (00007FFD682A0000), size: 1269760 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MSCTF.dll', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\d3d11.dll:d3d11.dll (00007FFD628B0000), size: 2469888 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\d3d11.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\dxgi.dll:dxgi.dll (00007FFD657E0000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dxgi.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvldumdx.dll:nvldumdx.dll (00007FFD22EE0000), size: 1142784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvldumdx.dll', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\cryptnet.dll:cryptnet.dll (00007FFD5CA80000), size: 192512 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\cryptnet.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\drvstore.dll:drvstore.dll (00007FFD5C940000), size: 1261568 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\drvstore.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\devobj.dll:devobj.dll (00007FFD668E0000), size: 172032 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\devobj.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\wldp.dll:wldp.dll (00007FFD665B0000), size: 167936 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wldp.dll', fileVersion: 10.0.18362.295
    C:\WINDOWS\System32\WINTRUST.dll:WINTRUST.dll (00007FFD679A0000), size: 376832 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\WINTRUST.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\system32\rsaenh.dll:rsaenh.dll (00007FFD65EC0000), size: 208896 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\rsaenh.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvwgf2umx.dll:nvwgf2umx.dll (00007FFD05300000), size: 44015616 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvwgf2umx.dll', fileVersion: 31.0.15.1659
    C:\WINDOWS\System32\clbcatq.dll:clbcatq.dll (00007FFD69B30000), size: 663552 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\clbcatq.dll', fileVersion: 2001.12.10941.16384
    C:\WINDOWS\system32\wbem\wbemprox.dll:wbemprox.dll (00007FFD5C610000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\wbemprox.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\wbemcomn.dll:wbemcomn.dll (00007FFD52B70000), size: 540672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wbemcomn.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\wbem\wbemsvc.dll:wbemsvc.dll (00007FFD52510000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\wbemsvc.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\system32\wbem\fastprox.dll:fastprox.dll (00007FFD52530000), size: 1052672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\fastprox.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\amsi.dll:amsi.dll (00007FFD4D100000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\amsi.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\USERENV.dll:USERENV.dll (00007FFD66A00000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\USERENV.dll', fileVersion: 10.0.18362.387
    C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2205.7-0\MpOav.dll:MpOav.dll (00007FFD4D080000), size: 503808 (result: 0), SymType: '-exported-', PDB: 'C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2205.7-0\MpOav.dll', fileVersion: 4.18.2205.7
    C:\WINDOWS\System32\MMDevApi.dll:MMDevApi.dll (00007FFD5B4B0000), size: 466944 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MMDevApi.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (00007FFD5B530000), size: 1429504 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\AUDIOSES.DLL', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\wintypes.dll:wintypes.dll (00007FFD62090000), size: 1388544 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wintypes.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll:resourcepolicyclient.dll (00007FFD64D30000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll', fileVersion: 10.0.18362.1
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\lib_burst_generated.dll:lib_burst_generated.dll (00007FFD385C0000), size: 294912 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\lib_burst_generated.dll'
    C:\WINDOWS\SYSTEM32\xinput1_4.dll:xinput1_4.dll (00007FFD3AED0000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\xinput1_4.dll', fileVersion: 10.0.18362.329
    C:\WINDOWS\SYSTEM32\inputhost.dll:inputhost.dll (00007FFD5BAD0000), size: 1155072 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\inputhost.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (00007FFD63780000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CoreMessaging.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (00007FFD61350000), size: 3317760 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CoreUIComponents.dll', fileVersion: 10.0.18362.207
    C:\WINDOWS\SYSTEM32\PROPSYS.dll:pROPSYS.dll (00007FFD64930000), size: 978944 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\PROPSYS.dll', fileVersion: 7.0.18362.267
    C:\WINDOWS\SYSTEM32\ntmarta.dll:ntmarta.dll (00007FFD65B40000), size: 200704 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntmarta.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\xinput1_3.dll:xinput1_3.dll (0000000000400000), size: 122880 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\xinput1_3.dll', fileVersion: 9.18.944.0
    C:\WINDOWS\SYSTEM32\TextInputFramework.dll:TextInputFramework.dll (00007FFD5BBF0000), size: 647168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\TextInputFramework.dll', fileVersion: 10.0.18362.693
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igd10iumd64.dll:igd10iumd64.dll (00007FFD59D10000), size: 23580672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igd10iumd64.dll', fileVersion: 27.20.100.8682
    C:\WINDOWS\SYSTEM32\ncrypt.dll:ncrypt.dll (00007FFD66620000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ncrypt.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\SYSTEM32\NTASN1.dll:NTASN1.dll (00007FFD665E0000), size: 241664 (result: 0), SymType: '-nosymbols-', PDB: 'C:\WINDOWS\SYSTEM32\NTASN1.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igdgmm64.dll:igdgmm64.dll (00007FFD5CAC0000), size: 2355200 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igdgmm64.dll', fileVersion: 27.20.100.8682
    C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igc64.dll:igc64.dll (00007FFD570A0000), size: 46538752 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_fb9939a7d714d646\igc64.dll', fileVersion: 27.20.100.8682
    C:\Windows\System32\OneCoreCommonProxyStub.dll:OneCoreCommonProxyStub.dll (00007FFD3F9D0000), size: 495616 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\OneCoreCommonProxyStub.dll', fileVersion: 10.0.18362.1
    C:\Windows\System32\OneCoreUAPCommonProxyStub.dll:OneCoreUAPCommonProxyStub.dll (00007FFD5FB20000), size: 7786496 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll', fileVersion: 10.0.18362.752
    C:\WINDOWS\SYSTEM32\dcomp.dll:dcomp.dll (00007FFD63140000), size: 1949696 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dcomp.dll', fileVersion: 10.0.18362.752
    C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\steam_api64.dll:steam_api64.dll (00007FFD2A7B0000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\Games\Steam\steamapps\common\Project Lazarus\Experimental\Project Lazarus_Data\Plugins\x86_64\steam_api64.dll', fileVersion: 6.91.21.57
    C:\WINDOWS\SYSTEM32\gpapi.dll:gpapi.dll (00007FFD65700000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\gpapi.dll', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvngx.dll:nvngx.dll (00007FFD27AA0000), size: 491520 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\nvngx.dll', fileVersion: 30.0.14.9516
    C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\_nvngx.dll:_nvngx.dll (00007FFD22920000), size: 1667072 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\DriverStore\FileRepository\nvamig.inf_amd64_a6c8d8415ff0e012\_nvngx.dll', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\nvapi64.dll:nvapi64.dll (00007FFD53410000), size: 7634944 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\nvapi64.dll', fileVersion: 31.0.15.1659
    C:\WINDOWS\SYSTEM32\DEVRTL.dll:DEVRTL.dll (00007FFD5C5F0000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DEVRTL.dll', fileVersion: 10.0.18362.387
    C:\WINDOWS\SYSTEM32\SPINF.dll:SPINF.dll (00007FFD5B710000), size: 118784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SPINF.dll', fileVersion: 10.0.18362.1
    C:\Windows\System32\Windows.UI.dll:Windows.UI.dll (00007FFD5BC90000), size: 1380352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\Windows.UI.dll', fileVersion: 10.0.18362.387
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C7C6633)
    0x00007FFD0C7C6633 (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C83495B)
    0x00007FFD0C83495B (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C831D0A)
    0x00007FFD0C831D0A (UnityPlayer) (function-name not available)
    0x00007FFD0D0A0C0E (UnityPlayer) UnityMain
    0x00007FFD0D0A2028 (UnityPlayer) UnityMain
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C8E1CFA)
    0x00007FFD0C8E1CFA (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C8E1DA0)
    0x00007FFD0C8E1DA0 (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0C8E46A8)
    0x00007FFD0C8E46A8 (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0CAD357A)
    0x00007FFD0CAD357A (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0CAD22AB)
    0x00007FFD0CAD22AB (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD0CAD6A77)
    0x00007FFD0CAD6A77 (UnityPlayer) (function-name not available)
    0x00007FFD0CAD85DB (UnityPlayer) UnityMain
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6C59D11F2)
    0x00007FF6C59D11F2 (Project Lazarus) (function-name not available)
    0x00007FFD68D37BD4 (KERNEL32) BaseThreadInitThunk
    0x00007FFD69C8CE51 (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========

    A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
    * C:/Users/Kamo/AppData/Local/Temp/Terapoly/Project Lazarus/Crashes
     
  11. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    This is a player.log file from one of my players. I am not sure sure if this is related but I am posting it in case it helps

    Also the project is running HDRP
     
    karl_jones likes this.
  12. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Quick update:

    I did some more digging, turns out, the Korean font contained some Chinese characters, not all, but just a few. So, it seems like the fallback method was searching in Korean, Chinese and Japanese. Probably why it made Chinese so much slower than it should be as it was iterating through Korean -> Japanese -> Chinese. I removed Chinese from Korean, then Moved Chinese above Japanese, so now only Japanese will iterate through Chinese once. This improved the lag by a huge margin. But the lag and the Audio Thread queueing is there, just not crazy lagging.

    As for Greek, turns out the font had it, put was not included in the hex range, hence leaving it out of the Atlas. I am not sure how Unity works internally, but it looks like it tried to dynamically add it? Hence the crazy lag. I added all languages that use alphabets (Hungarian, Turkish, Russian, Swedish etc) and slapped them onto a single Text Asset and now the performance is great.

    So, the lags are gone for now (Still a bit for Chinese and Japanese, but manageable) but whenever a new text is requested, the same lag spike (not noticeable but clearly there on the Profiler) happens. I only expected Locale changes to cause a spike so I am not sure if this is intended or still something to investigate.

    Lastly, about my original post about memory leak, it used to leak memory 1mb per sec whenever I change languages, but given that it won't be dynamically adding characters to the atlas, I have a feeling that this is gone now. I will playtest the game tonight to make sure, but it does explain why I was not able to catch it in the first place. If changing to Chinese or any other languages that caused atlas refresh, it probably is the cause of memory leak as it would be creating new textures every time a translation is called. Some of my players ended up with 13Gb ram usage after few hours. This only happened to very few players (maybe 10 reported out of 30k+ users), so I doubt this is a coding issue, but an internal one that gets triggered - even if we assume only 10% of the players reporting, that is less than 1%. It also seems more common with players with less VRAM, if that info helps.

    I will come back tomorrow with more data, but I think you should look into why requesting translation words after locale initialization is completed results in a high spike. My profiler also indicated Canvas taking up 80ms during this spike, so it could be TMP related and not so much on the Localization package. The audio thread, could not be related afterall.

    Hope this helps.
     
    karl_jones likes this.
  13. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
  14. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Final Update:

    So, I changed the code so that the fetched string doesn't relay to textmeshpro but just debug.log and it seems that the localization package has nothing to do with it.

    I think you can close the bug report.

    I will go bother the guys in textmeshpro forum

    Karl, btw, love the work on the package so far but few feature requests.

    • Localization Tables tab should have the build button, and a checkbox to enable bake first before standalone build
    • New Table Collection should be renamed to Table collection and other table related functions should be added. eg. delete table, show a list of all table. I had to go through multiple checks to delete and replace tables...and had to csv import to make sure...
    • The Selected Locales should be moved into a list like left side column and on right side it should have the list of tables and ability to remove them
    • The Selected Locales should have a number reference shown to make locale reference easier. I find myself counting from top to bottom to find out the ref number...and this changes when I add locales...
    • In the Edit Table Collection, the left key column should be fixed like the top language row. When I work on Vietnamese, I find my self scrolling left right to double check the keys
    • Color code each language different or change even number columns. When working manually on the table, it gets very confusing
    • Add a default bank of common translation words like "New Game" or "Desktop" and allow us to simply select it. It just makes localization more accessible especially during dev time.
    • Add a Test Filter button to test if certain blocks has strange translations. For example, if there is space at the start, or a Chinese block has Korean characters
    • Add the ability to change to Upper, first letter Upper and all low caps, Add punctuation at the end
    • Keep Key Column width fixed and not reset on panel changes.
    Here is a UI mock up
    Untitled-1.png
     
  15. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Thanks. Lots of great suggestions here!

    That's interesting. We are doing a UX review at the moment to improve the table editor, ill add the suggestion.
    In Addressables it is possible to set it to auto build in Unity 2021.2 and above.
    It can be found in the Addressables settings Build Addressables on Player Build

    https://docs.unity3d.com/Packages/c...20/manual/AddressableAssetSettings.html#build

    Yes, deleting tables is something we don't make easy. We never expected anyone would want to delete them :D

    What would the list of locales do? Act as a filter for the list of tables?

    Oh yes good idea!

    Interesting. That could get tricky when we have a few hundred languages ;)
    Something like that could work better in our new service we are working on https://forum.unity.com/threads/invitation-to-localization-user-test.1243759/

    We have done an initial integration with Unity search that does provide some nice filters for checking for issues. As part of the UX update I want the new search to be integrated into the Table Editor so you can save filters and apply them. So hopefully this should be possible in the future. We may need more filters https://docs.unity3d.com/Packages/com.unity.localization@1.3/manual/SearchFilters.html

    We have some Smart String improvements that should help with this in 2.x.
    You can now do {someWord.CapitalizeWords} and it will capitalize the first letter of each word. It doesn make the rest lowercase though but maybe we can make that an option.
    Can you give me an example of what you mean by "Add punctuation at the end"?
    Like adding a full stop if one is missing?

    Ah yes another UX issue ;)
     
    Last edited: Jul 21, 2022
  16. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    What would the list of locales do? Act as a filter for the list of tables?
    -> not much, but since not all languages are added all at once, but usually start with English, then the 4 major languages and so on, the array ref changes as more locales are added. The current localization package does allow to set default language, but usually we need ref num for it for settings and so on. I find myself counting with fingers to make sure the array is set correctly.

    For example when I had English and Swedish, English was 0
    then I add Chinese, English is 1 since its alphabetical.

    So I have another reference list that looks like this

    Array[0] = 1
    Array[1] = 0
    Array[2] = 2

    etc

    for locale table
    Chinese [0]
    English [1]
    Swedish [2]

    Yes, deleting tables is something we don't make easy. We never expected anyone would want to delete them
    -> I actually had to remove many times, because 1, it was my first time in production so I had to experiment and 2, I added wrong tables due to the lack of language knowledge, for example, I added Portuguese instead of Portuguese Brazil etc

    We have some Smart String improvements that should help with this in 2.x.
    You can now do {someWord.CapitalizeWords} and it will capitalize the first letter of each word. It doesn make the rest lowercase though but maybe we can make that an option.
    Can you give me an example of what you mean by "Add punctuation at the end"?
    Like adding a full stop if one is missing?
    -> Yes, this was very crucial, sometimes, I would forget and sometimes I would remember and when the dataset got bigger and bigger, I had to start revising every block for consistency. Also, some languages were done by other people, and they were not following my standards even though they were instructed, hence the table ended up with many many errors. Hard to notice in table form. Also the upper, lower and all upper is way more important than u think. See, when I got my Russian translations from the translator, he forgot to make one specific word all upper. Sure, no big deal, then I realized that I didn't have a Russian keyboard, nor knew what the upper looked like and had no idea how to add extended alphabets for Vietnamese...it became a nightmare.

    For example
    Vũ khí hoàn toàn tự động, tự nạp đạn -> I don't even know where to begin
    Выпускает лазер, отскакивающий при ударе -> ....................
    दुश्मनों के माध्यम से नाड़ी का एक क्षेत्र गोली मारता है -> Is there an upper case for Hindi? :)

    I eventually ended up using Google Sheet to apply makros, but this could have been super easy if a checkbox exists in the Key column. I could also do it in TextMeshPro but I don't want to add more load to it given its not so great performance.

    Bottom line, I think it would put the localization package in a very good place if it eliminates the need for human revisions and prevent human error - especially for a group of authors. Right now, the localization package is still young, but works good, but in order for it to rise above all, it needs to understand the nature of people using it. The addition of CSV was a good starting point, and it really helped.

    Hope this helps.
     
    karl_jones likes this.
  17. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Thanks. Some really good points. I think we could solve most of these issues through the Search system integration. Ill make a note to test against your use cases.
     
  18. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Thanks!