View Issue Details

IDProjectCategoryView StatusLast Update
0004471NoesisGUIStudiopublic2025-11-05 14:19
ReporterJinFox Assigned Tosfernandez  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Beta 
Target VersionStudio_BetaFixed in VersionStudio_Beta 
Summary0004471: Trying to Edit an existing DataTemplate for a data structure that containsa ItemsControl crashes the unreal editor
Description

Hello,
I was trying to get used to the data structure system by creating a simple AgendaViewModel<>PersonViewModel data structure and show a list. I am using Unreal Noesis studio plugin.

Unfortunately, every time I try to re-open the datatemplate definition in GlobalResource for AgendaViewModel (I tried with both default and Named dataTemplate) it crashes (So I can create it, edit for a bit but as soon as I go see something else and reopen it it crashes, I have tried with ListView, ListBox and ItemsControl)

I have tried to look at other tickets created but it doesn't seem to be existing already.

Here is the callstack of the crash :
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
Noesis
UnrealEditor_NoesisEditor!UNoesisStudioInstance::Update() [D:\dev\JoaquimNoesisTests\Plugins\NoesisGUI\Source\NoesisEditor\Private\NoesisStudioInstance.cpp:269]
UnrealEditor_UMG
UnrealEditor_NoesisEditor!SNoesisStudioWidget::Tick() [D:\dev\JoaquimNoesisTests\Plugins\NoesisGUI\Source\NoesisEditor\Private\SNoesisStudioWidget.cpp:67]
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I have attached, below the noesis studio project folder with the .noesis data structure for it.

Attached Files
Crashing example.zip (175,586 bytes)
PlatformAny

Activities

sfernandez

sfernandez

2025-10-30 19:53

manager   ~0011317

I copied the project you attached to a fresh installation of Noesis+Studio 4.0.0b5 for Unreal and opened the MainView.xaml, went to Resources tab, selected GlobalResources.xaml and clicked the Edit pencil for the DataTemplate.Agenda.VerticalList and nothing crashed. I also converted it to a default DataTemplate for the BP_AgendaViewModel and I was able to edit it fine.

I tried to assign that template to the ContentControl.ContentTemplate too, then assign the DataTemplate.Person.ListItem to the internal ItemsControl.ItemTemplate. This test worked fine as well.

Maybe I'm missing some steps to reproduce the crash.

JinFox

JinFox

2025-10-31 10:19

reporter   ~0011318

Last edited: 2025-10-31 10:20

Hello,
This is strange, this morning I tried the step you mentionned by:
1 - unpacking the sample project NoesisGUI-UE5.6-4.0.0b5 (with noesis studio plugin and sample).
2 - extracted my sample zip at the root of the project (so that NoesisJR/ is next to the Samples.uproject)
3 - Opened Noesis Settings and added my project at a new entry at the end of the studio projects array ("NoesisJR/Game.noesis")
4 - Opened studio and opened the Data tab
5 - Clicked on Manage>Edit>DataTemplate.Agenda.VerticalList
-> Crash (this time in I could see one of the entry of the callstack be : UnrealEditor_NoesisRuntime!UNoesisInstance::NativeOnMouseButtonUp() [D:\Builds\Worker\build_build\Incoming\Temp\Unreal\Plugins\NoesisGUI\Source\NoesisRuntime\Private\NoesisInstance.cpp:1853]
6 - Optional : Sometime I was able to proceed but as soon as I was trying to edit Templating part of the property panel for the ItemsControl it crashed again.

However, after this, I did try to manually empty the generated xaml DataTemplate (in GlobalResource.xaml just leaving the dataTemplate with just a ItemsControl with ItemSource bound and nothing else) in case there was some thing it didnt like to re-populate it and now the crash didn't happen (I had tried that yesterday and it was still crashing.
So it looks that I am quite unlucky but it doesn't seem a 100% repro rate.

sfernandez

sfernandez

2025-10-31 11:15

manager   ~0011319

Could you save a minidump when it crashes and attach it here?
That way I can debug it and correctly see the callstack.

(I tried again following your steps and still not crashing for me)

JinFox

JinFox

2025-11-03 10:28

reporter   ~0011333

Hello,
I tried again from scratch this morning trying the reproduction steps and also other similar occurence I usually was encountering but It seemed to be working as expected. I do not really know what was different because I started from the same zip file (unzipping your sample project, unzipping my example in it and got different result)
In any case, please find attached what I think is an occurence of that crash minidump.
Hopefully you can find the reason why using it.
Thanks again.

sfernandez

sfernandez

2025-11-03 10:47

manager   ~0011337

Last edited: 2025-11-03 10:48

Visual Studio is asking for the binaries and symbols to properly debug the minidump.
Could you please zip also all the files (dlls+pdbs) under Binaries and Plugins/NoesisGUI/Binaries? They must be the ones used when the crash occurred so they match.

JinFox

JinFox

2025-11-03 12:16

reporter   ~0011344

Hi Sergio,
Please find attached the zip file containing both binary folders (I had to use dropbox due to size limitation)
https://www.dropbox.com/scl/fi/2kw9hicc4rclz6lag0d4j/Binaries.zip?rlkey=491cde66oo23z7ljhr0csby26&st=mum9jp6m&dl=0

sfernandez

sfernandez

2025-11-03 14:08

manager   ~0011345

Thanks a lot for helping with this, unfortunately the dump you attached does not contain any reference to Noesis code, it seems totally unrealated to the initial crash.
This last dump is related to an Unreal transient object that can't be garbage collected: DataBindingView_C
Are you able to crash like the first time, with Noesis in the crash callstack?

JinFox

JinFox

2025-11-03 19:54

reporter   ~0011346

Unfortunately I haven't been able to reproduce the issue as I was able to reproduce it on this simple project last week but not today (my other more explorative project moved a bit since last time and the issue isn't seen there either) I will keep an eye on it and hopefully reproduce soon.

JinFox

JinFox

2025-11-04 12:50

reporter   ~0011349

Last edited: 2025-11-04 17:04

Hello Sergio,
I was able to reproduce the issue on my test project. I have stripped everything I could so hopefully there is no noise on the project.
Please find in that dropbox link the sample project. I have included a gif showing the issue and step to it when unzipping the project :
[wrong link sorry] https://www.dropbox.com/scl/fi/bdi0npyctxa4jtrp6418s/MyCrashReport.zip?rlkey=3f9xslijamkudeat7kxhcfwsn&st=ovg3d674&dl=0

Updated link :
https://www.dropbox.com/scl/fi/p6qemx7u09yshm2ps80wy/CrashOnEditTemplate.zip?rlkey=a82ceqo366bfnd3lu716me6ow&st=fpmds65e&dl=0

sfernandez

sfernandez

2025-11-04 14:23

manager   ~0011352

Hmm... this link points to the exact same project linked in ticket #4477, is that correct?
Because I can't find any gif showing the repro steps.

JinFox

JinFox

2025-11-04 17:05

reporter   ~0011354

Hi Sergio, sorry, error on my part I took the wrong link. I have updated my post with the correct one

sfernandez

sfernandez

2025-11-05 14:19

manager   ~0011359

Fixed in changeset r16243

Issue History

Date Modified Username Field Change
2025-10-30 17:25 JinFox New Issue
2025-10-30 17:25 JinFox File Added: Crashing example.zip
2025-10-30 19:33 sfernandez Assigned To => sfernandez
2025-10-30 19:33 sfernandez Status new => assigned
2025-10-30 19:33 sfernandez Target Version => Studio_Beta
2025-10-30 19:53 sfernandez Status assigned => feedback
2025-10-30 19:53 sfernandez Note Added: 0011317
2025-10-31 10:19 JinFox Note Added: 0011318
2025-10-31 10:19 JinFox Status feedback => assigned
2025-10-31 10:20 JinFox Note Edited: 0011318
2025-10-31 11:15 sfernandez Status assigned => feedback
2025-10-31 11:15 sfernandez Note Added: 0011319
2025-11-03 10:28 JinFox Note Added: 0011333
2025-11-03 10:28 JinFox File Added: Crash UECC-Windows-16B246704317990B569164BF69418531_0000.zip
2025-11-03 10:28 JinFox Status feedback => assigned
2025-11-03 10:47 sfernandez Status assigned => feedback
2025-11-03 10:47 sfernandez Note Added: 0011337
2025-11-03 10:48 sfernandez Note Edited: 0011337
2025-11-03 12:16 JinFox Note Added: 0011344
2025-11-03 12:16 JinFox Status feedback => assigned
2025-11-03 14:08 sfernandez Status assigned => feedback
2025-11-03 14:08 sfernandez Note Added: 0011345
2025-11-03 19:54 JinFox Note Added: 0011346
2025-11-03 19:54 JinFox Status feedback => assigned
2025-11-04 12:50 JinFox Note Added: 0011349
2025-11-04 14:23 sfernandez Status assigned => feedback
2025-11-04 14:23 sfernandez Note Added: 0011352
2025-11-04 17:04 JinFox Note Edited: 0011349
2025-11-04 17:05 JinFox Note Added: 0011354
2025-11-04 17:05 JinFox Status feedback => assigned
2025-11-05 14:19 sfernandez Status assigned => resolved
2025-11-05 14:19 sfernandez Resolution open => fixed
2025-11-05 14:19 sfernandez Fixed in Version => Studio_Beta
2025-11-05 14:19 sfernandez Note Added: 0011359