View Issue Details

IDProjectCategoryView StatusLast Update
0005209NoesisGUIUnitypublic2026-10-16 19:01
ReporterXaron Assigned Tojsantos  
PrioritynormalSeveritycrash 
Status feedbackResolutionopen 
Product Version4.0 
Target Version4.0.2 
Summary0005209: Crash in native game (Render Device Wrap Texture)
Description

Hi, I get a crash in our native game using Noesis 4.0

Attached are some crash dumps.

Noesis_RenderDeviceVK_WrapTexture

Attached Files
crash.zip (1,707,058 bytes)
PlatformAny

Activities

sfernandez

sfernandez

2026-09-21 16:34

manager   ~0012614

The crashes correspond to the following 2 callstacks:

    [Inline Frame] Noesis.dll!PackGPUVertices_Solid_AA_Out Line 177 C++ Symbols loaded.
    Noesis.dll!PackPath Line 3143   C++ Symbols loaded.
>   Noesis.dll!Noesis::VGLContext::UploadGPUGeometry Line 5059  C++ Symbols loaded.
    Noesis.dll!Noesis::VGLContext::Flush Line 2088  C++ Symbols loaded.
    Noesis.dll!Noesis::Renderer::DoRender Line 385  C++ Symbols loaded.
    Noesis.dll!Noesis::Renderer::Render Line 333    C++ Symbols loaded.
    Noesis.dll!Noesis_GetRenderOnscreenCallback::__l2::<lambda> Line 717    C++ Symbols loaded.
    UnityPlayer.dll!GfxDevice::InsertCustomMarkerCallbackAndDataWithFlags   Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunCommand Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunExt Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunGfxDeviceWorker Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!Thread::RunThreadWrapper    Unknown Non-user code. Symbols loaded.
>   [Inline Frame] Noesis.dll!Noesis::BaseVector<Noesis::DrawInfo>::EmplaceBack Line 555    C++ Symbols loaded.
    Noesis.dll!Noesis::VGLContext::ActivateBatch Line 2724  C++ Symbols loaded.
    Noesis.dll!Noesis::VGLContext::DrawRunForeground Line 4918  C++ Symbols loaded.
    Noesis.dll!Noesis::VGLContext::DrawTextLayout Line 1613 C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTreeHelper::DrawTextLayout Line 797    C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTreeHelper::DrawCommands Line 580  C++ Symbols loaded.
    [Inline Frame] Noesis.dll!Noesis::RenderTreeHelper::RenderDraw Line 1542    C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTreeHelper::RenderNodeRecursive Line 1496  C++ Symbols loaded.
    [Inline Frame] Noesis.dll!Noesis::RenderTreeHelper::RenderChildren Line 1556    C++ Symbols loaded.
        ...
    [Inline Frame] Noesis.dll!Noesis::RenderTreeHelper::RenderChildren Line 1556    C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTreeHelper::RenderNodeRecursive Line 1496  C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTreeHelper::Render Line 95 C++ Symbols loaded.
    Noesis.dll!Noesis::RenderTree::Render Line 432  C++ Symbols loaded.
    Noesis.dll!Noesis::Renderer::RenderOffscreen Line 305   C++ Symbols loaded.
    Noesis.dll!Noesis_GetRenderOffscreenCallback::__l2::<lambda> Line 680   C++ Symbols loaded.
    UnityPlayer.dll!GfxDevice::InsertCustomMarkerCallbackAndDataWithFlags   Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunCommand Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunExt Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!GfxDeviceWorker::RunGfxDeviceWorker Unknown Non-user code. Symbols loaded.
    UnityPlayer.dll!Thread::RunThreadWrapper    Unknown Non-user code. Symbols loaded.
jsantos

jsantos

2026-09-21 16:42

manager   ~0012618

Is this reproducible? I probably need to use the debug library to get more information.

Xaron

Xaron

2026-09-21 18:44

reporter   ~0012623

Unfortunately not. Just getting those reports automatically with the minidumps.

Xaron

Xaron

2026-10-02 12:16

reporter   ~0012692

I've got some more crash dumps, maybe that helps?

It seems to happen randomly but not that rarely unfortunately.

wraptexture.zip (2,867,344 bytes)
Xaron

Xaron

2026-10-02 12:17

reporter   ~0012693

And some more...

wraptexture2.zip (1,941,593 bytes)
jsantos

jsantos

2026-10-05 17:04

manager   ~0012702

An initial analysis of the crashes in wraptexture.zip seems to indicate that a HUGE TextBlock (containing 15 million characters) is being rendered. We crash in this case. This needs to be fixed, but it appears to be an extremely rare case.

Could you please confirm whether this makes sense to you?

Are your players able to inject custom text anywhere in the game?

Xaron

Xaron

2026-10-05 17:24

reporter   ~0012703

Yes players can do inject custom texts but I doubt they will add 15 million characters. o_O

Regarding the logs some seem to happen in the main menu for instance but it's not reproducable. Some are for Chinese players, some English, it's not consistent. Could you maybe create a debug lib so we could try to reproduce it somehow?

jsantos

jsantos

2026-10-06 12:47

manager   ~0012706

Last edited: 2026-10-06 12:47

This is the debug library for 4.0.0 (it is for standalone builds, not for the Editor)

https://drive.google.com/file/d/1a7ft-zya8utkCxZ9tSk41veZF1QLKF6e/view?usp=drive_link

The crash with 15 million chars is coming from a TextBlock.

I will patch that crash in 4.0.1

Xaron

Xaron

2026-10-06 17:19

reporter   ~0012714

Thank you, I've created a test build with the debug dll. Will let you know if we find any crashes with it.

jsantos

jsantos

2026-10-06 17:32

manager   ~0012715

Thanks!

Xaron

Xaron

2026-10-07 17:09

reporter   ~0012726

Good news I guess, we had one crash with the debug dll:

Fatal Error: EXCEPTION_BREAKPOINT / 0x7ffad8409356

Xaron

Xaron

2026-10-07 17:16

reporter   ~0012727

Last edited: 2026-10-07 17:33

From the player who had that:

"was in Encyclopedia, first drew a polygon with like ... 20? corner points that all intersected, then spawned an Udaloy, used the expected position tool on it, launched an SS-N-14B, used the expected position tool on that one as well, launched a salvo of two SA-N-9 and then it crashed"

So it doesn't look like it's related to texts at all? Maybe that was a different crash anyway?

Xaron

Xaron

2026-10-07 17:51

reporter   ~0012728

The supplied debug DLL matches the crashing module's debug ID:
314c59aa-0c60-4a6f-873e-df3dc64e1ce4-1

Crash thread: UnityGfxDeviceWorker
Crash location: Noesis.dll + 0xC79356 (INT 3)

The assertion arguments immediately preceding the breakpoint are:
Drawing/VGL/Src/PathStroker.cpp, line 525
!IsZero(Length(arm))

jsantos

jsantos

2026-10-08 18:48

manager   ~0012737

Thanks for the dump, this is providing very useful information!

Xaron

Xaron

2026-10-08 19:05

reporter   ~0012738

Nice! I'm curious, is it leading to that issue above or is it a new one?

jsantos

jsantos

2026-10-09 03:44

manager   ~0012741

Yeah, it could be related to one of the crashes, but not the one about huge number of chars.

Please, download this new patched library:

https://drive.google.com/file/d/1Uurd5R18C9eV9nXD8IOgFmOFHE4YNdDI/view?usp=sharing

Xaron

Xaron

2026-10-09 10:51

reporter   ~0012742

Thank you, given the size this is another debug library, right?

Will add it to our beta.

Could you provide a diagnostic build of Noesis.dll that runs on regular player PCs without requiring Visual Studio, the C++ Build Tools, or additional debug runtime installations?
The current x64 debug DLL imports:

  • MSVCP140D.dll
  • VCRUNTIME140D.dll
  • ucrtbased.dll

These dependencies prevent it from loading on some players’ machines. Ideally, the diagnostic DLL would retain the assertions and logging needed for this investigation while using the same runtime dependencies as the regular release DLL.

jsantos

jsantos

2026-10-09 11:56

manager   ~0012745

Last edited: 2026-10-09 11:56

This one, shouldn't have any dependencies to debug runtimes

https://drive.google.com/file/d/11CoC2i8ifk83bBY9-dPipYTbHRptJjKL/view?usp=sharing

Note that these patches are DEBUG versions (much more slower that the RELEASE runtimes).

Xaron

Xaron

2026-10-09 12:14

reporter   ~0012746

Thank you, much appreciated! Added it to our beta build.

Xaron

Xaron

2026-10-09 17:09

reporter   ~0012747

Last edited: 2026-10-10 10:55

Here are more crash dumps using your p2 patch above. They're all from the same guy and probably all the same cause?

[NOESIS] Assertion failed: IsBaseComponentType(type) at ExtendBindings.cpp(3290)

400debug-p2.zip (2,635,560 bytes)
Xaron

Xaron

2026-10-10 10:55

reporter   ~0012748

Last edited: 2026-10-10 10:56

Here is another crash dumb from another player, I think a different issue:

[NOESIS] Assertion failed: BaseObject::Equals(GetContainerItem(container), item) at ItemContainerGenerator.cpp(1276)

Please let me know if I should open separate issues for that? Thank you!

jsantos

jsantos

2026-10-13 14:36

manager   ~0012756

The last two asserts are not related to the crashes and are not causing any issue in Release. This is happening because our asserts in debug are non-recoverable.

We are going to fix them and I will provide a new build.

Xaron

Xaron

2026-10-13 16:22

reporter   ~0012757

Thank you, looking forward to it!

Xaron

Xaron

2026-10-16 16:10

reporter   ~0012769

Any news about an updated build here? Thank you!

jsantos

jsantos

2026-10-16 19:01

manager   ~0012770

This is a new patched version with the last two asserts removed:

https://drive.google.com/file/d/1zCGu4bKH1s-uSq30F0fxMJDX4g9NK3Y2/view?usp=sharing

Issue History

Date Modified Username Field Change
2026-09-19 16:53 Xaron New Issue
2026-09-19 16:53 Xaron File Added: crash.zip
2026-09-21 11:50 sfernandez Assigned To => sfernandez
2026-09-21 11:50 sfernandez Status new => assigned
2026-09-21 11:50 sfernandez Target Version => 4.0.1
2026-09-21 16:30 sfernandez Assigned To sfernandez => jsantos
2026-09-21 16:34 sfernandez Note Added: 0012614
2026-09-21 16:42 jsantos Note Added: 0012618
2026-09-21 16:42 jsantos Status assigned => feedback
2026-09-21 18:44 Xaron Note Added: 0012623
2026-09-21 18:44 Xaron Status feedback => assigned
2026-10-02 12:16 Xaron Note Added: 0012692
2026-10-02 12:16 Xaron File Added: wraptexture.zip
2026-10-02 12:17 Xaron Note Added: 0012693
2026-10-02 12:17 Xaron File Added: wraptexture2.zip
2026-10-05 17:04 jsantos Note Added: 0012702
2026-10-05 17:04 jsantos Status assigned => feedback
2026-10-05 17:24 Xaron Note Added: 0012703
2026-10-05 17:24 Xaron Status feedback => assigned
2026-10-06 12:47 jsantos Note Added: 0012706
2026-10-06 12:47 jsantos Status assigned => feedback
2026-10-06 12:47 jsantos Note Edited: 0012706
2026-10-06 17:19 Xaron Note Added: 0012714
2026-10-06 17:19 Xaron Status feedback => assigned
2026-10-06 17:32 jsantos Note Added: 0012715
2026-10-06 17:32 jsantos Status assigned => feedback
2026-10-07 17:09 Xaron Note Added: 0012726
2026-10-07 17:09 Xaron File Added: e848581f-2bbe-41d6-0ff7-c9957c831c90.zip
2026-10-07 17:09 Xaron Status feedback => assigned
2026-10-07 17:16 Xaron Note Added: 0012727
2026-10-07 17:33 Xaron Note Edited: 0012727
2026-10-07 17:51 Xaron Note Added: 0012728
2026-10-08 18:48 jsantos Note Added: 0012737
2026-10-08 19:05 Xaron Note Added: 0012738
2026-10-09 03:44 jsantos Note Added: 0012741
2026-10-09 03:44 jsantos Status assigned => feedback
2026-10-09 10:51 Xaron Note Added: 0012742
2026-10-09 10:51 Xaron Status feedback => assigned
2026-10-09 11:56 jsantos Note Added: 0012745
2026-10-09 11:56 jsantos Status assigned => feedback
2026-10-09 11:56 jsantos Note Edited: 0012745
2026-10-09 12:14 Xaron Note Added: 0012746
2026-10-09 12:14 Xaron Status feedback => assigned
2026-10-09 17:09 Xaron Note Added: 0012747
2026-10-09 17:09 Xaron File Added: 400debug-p2.zip
2026-10-10 10:55 Xaron Note Added: 0012748
2026-10-10 10:55 Xaron File Added: 69fd00cd-6409-4a92-78a9-da3986899af1.zip
2026-10-10 10:55 Xaron Note Edited: 0012747
2026-10-10 10:56 Xaron Note Edited: 0012748
2026-10-13 14:36 jsantos Note Added: 0012756
2026-10-13 14:36 jsantos Status assigned => feedback
2026-10-13 16:22 Xaron Note Added: 0012757
2026-10-13 16:22 Xaron Status feedback => assigned
2026-10-16 12:18 jsantos Target Version 4.0.1 => 4.0.2
2026-10-16 16:10 Xaron Note Added: 0012769
2026-10-16 19:01 jsantos Note Added: 0012770
2026-10-16 19:01 jsantos Status assigned => feedback