View Issue Details

IDProjectCategoryView StatusLast Update
0004453NoesisGUIStudiopublic2025-10-31 15:49
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Beta 
Target VersionStudio_Beta 
Summary0004453: In Studio Unity, Merging a ResourceDictionary into GlobalResources Causes a Crash
Description

Currently, running the Unity Studio Plugin, merging a ResourceDictionary into Global Resources causes the application to crash.

This appears to be related to the fact that GlobalResources is not supported outside of the Root folder, whereas Unity's structure demands it to be placed within the /Assets directory.


Repro Steps:

1) Donwload the Latest NoesisUnity Plugin from: https://www.noesisengine.com/forums/viewtopic.php?t=3747&sid=5d82d002d3cf747d6e19982598273bc0
2) From the Unity Hub, download the latest LTS Engine Version (i'm using 6000.0.60f1 LTS)
3) Create a new Unity Project, selecting 3D (Built-in Render Pipeline) as the Template.

4) Once the project is created, navigate to the Unity Project's directory in Windows explorer, create an "ExternalPackages" directory adjacent to the "Packages" folder, and place the unzipped StudioUnity Plugin within it.

5) Return to Unity, and from the Package Manager, install the Unity Plugin from the location in Step 4).

6) From the 'Tool's Toolbar Menu, select 'NoesisGUI' --> 'Open Studio Project'.

7) In Noesis Studio, under the 'Assets/Scenes' directory, create a new MainPage.xaml
8) Still under 'Assets/Scenes', create a new Resource Dictionary.

9) Select MainPage.xaml to open it in the Viewport
10) Navigate to the Resources Tab, and merge the Dictionary created in Step 8) into GlobalResources.xaml

At this point, the application may crash, otherwise, proceed to Step 11).

11) Close the Noesis Studio window within Unity, then open it again from the 'Tool's Toolbar Menu, select 'NoesisGUI' --> 'Open Studio Project'.

12) Select MainPage.xaml to open it.

13) Create a another Dictionary from the Assets Panel.

14) 10) Navigate to the Resources Tab, and merge the new/second Dictionary created in Step 13) into GlobalResources.xaml.

At this point, the application should crash.

Expected Results: Dictionaries can be merged into GlobalDictionary in StudioUnity, just as they can be in Standalone.

PlatformAny

Relationships

duplicate of 0004452 resolveddfranjic Crash merging dictionary into GlobalResources 
related to 0003967 resolveddfranjic Moving GlobalResources.xaml From the Root Directory Breaks All Global Resources 

Activities

dfranjic

dfranjic

2025-10-31 15:49

developer   ~0011332

The crash is fixed with r16213. It's due to the .noesis project file having the root files ignored, thus when you try to merge into currently non existing /GlobalResources.xaml from within /Assets/Scenes/*, Studio tries to create GlobalResources.xaml in the root directory, and it does so, but it's not "imported" into the project due to the ignore rule for the root files.

I'll close this one, as the crash is fixed and we have other tickes for supporting GlobalResources.xaml outside of the root.

Issue History

Date Modified Username Field Change
2025-10-27 11:41 dstewart New Issue
2025-10-27 11:42 sfernandez Assigned To => dfranjic
2025-10-27 11:42 sfernandez Status new => assigned
2025-10-27 11:42 sfernandez Target Version => Studio_Beta
2025-10-27 11:42 sfernandez Relationship added duplicate of 0004452
2025-10-27 11:42 dstewart Relationship added related to 0003967
2025-10-31 15:49 dfranjic Status assigned => resolved
2025-10-31 15:49 dfranjic Resolution open => fixed
2025-10-31 15:49 dfranjic Note Added: 0011332