View Issue Details

IDProjectCategoryView StatusLast Update
0003433NoesisGUIUnitypublic2026-03-04 00:39
ReporterAliciaCastillo Assigned Tojsantos  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version3.2.3 
Target Version3.2.13 
Summary0003433: Unable to load dependencies to XAML files in a Unity Package
Description

We have an external Unity package with custom controls in XAML and it seems to happen that the files are unable to be found by Noesis when they are in an external package. It's able to find them because you can see them in the preview but you will get the error that they could not be found and won't render when hit play. I'm attaching some txt with the errors and here is the link to the forum where we found the problem:

https://www.noesisengine.com/forums/viewtopic.php?p=17202#p17202

Steps To Reproduce

Create a Package for Unity with some custom controls in XAML
Create an new SampleProject with Unity
Include the package in the SampleProject
Try tu use the custom controls in the SampleProject

Attached Files
Error from editor preview.txt (2,720 bytes)   
[NOESIS/E] Assets/Script/LoginWindow.xaml(43,13): Xaml not found '/Packages/com.bkool.bknoesiscomponents/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml'
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisUnity.cs:373)
Noesis.GUI:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:344)
BKOOL.UIComponents.Components.CommandsLegendPCBlock:InitializeComponent () (at /Users/fengel/Developer/unity/[email protected]/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml.cs:25)
BKOOL.UIComponents.Components.CommandsLegendPCBlock:.ctor () (at /Users/fengel/Developer/unity/[email protected]/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml.cs:16)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure)
Noesis.Extend:CreateInstance (intptr,intptr) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/Extend.cs:5770)
Noesis.GUI:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:344)
NoesisUnity:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisUnity.cs:276)
Login.LoginWindow:InitializeComponent () (at Assets/Script/LoginWindow.xaml.cs:25)
Login.LoginWindow:.ctor () (at Assets/Script/LoginWindow.xaml.cs:20)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure)
Noesis.Extend:CreateInstance (intptr,intptr) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/Extend.cs:5770)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:292)
NoesisXaml:Load () (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisXaml.cs:17)
NoesisXamlEditor:CreatePreviewView () (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Editor/NoesisXamlEditor.cs:29)
NoesisXamlEditor:HasPreviewGUI () (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Editor/NoesisXamlEditor.cs:216)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)
Error from editor preview.txt (2,720 bytes)   
Error when hit play.txt (2,557 bytes)   
[NOESIS/E] Assets/Script/LoginWindow.xaml(43,13): Xaml not found '/Packages/com.bkool.bknoesiscomponents/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml'
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisUnity.cs:373)
Noesis.GUI:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:344)
BKOOL.UIComponents.Components.CommandsLegendPCBlock:InitializeComponent () (at /Users/fengel/Developer/unity/[email protected]/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml.cs:25)
BKOOL.UIComponents.Components.CommandsLegendPCBlock:.ctor () (at /Users/fengel/Developer/unity/[email protected]/Runtime/Scripts/Components/CommandsLegendPCBlock.xaml.cs:16)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure)
Noesis.Extend:CreateInstance (intptr,intptr) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/Extend.cs:5770)
Noesis.GUI:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:344)
NoesisUnity:LoadComponent (object,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisUnity.cs:276)
Login.LoginWindow:InitializeComponent () (at Assets/Script/LoginWindow.xaml.cs:25)
Login.LoginWindow:.ctor () (at Assets/Script/LoginWindow.xaml.cs:20)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure)
Noesis.Extend:CreateInstance (intptr,intptr) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/Extend.cs:5770)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/API/Core/NoesisGUI.cs:292)
NoesisXaml:Load () (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisXaml.cs:17)
NoesisView:LoadXaml (bool) (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisView.cs:547)
NoesisView:OnEnable () (at /Users/fengel/Developer/unity/tests/noesis_tests/noesisLoginBinding/NoesisGUI-Unity-3-2/Runtime/NoesisView.cs:735)
Error when hit play.txt (2,557 bytes)   
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2024-06-25 10:00 AliciaCastillo New Issue
2024-06-25 10:00 AliciaCastillo Tag Attached: C#
2024-06-25 10:00 AliciaCastillo Tag Attached: Package
2024-06-25 10:00 AliciaCastillo Tag Attached: Unity
2024-06-25 10:00 AliciaCastillo File Added: Error from editor preview.txt
2024-06-25 10:00 AliciaCastillo File Added: Error when hit play.txt
2024-06-25 11:02 sfernandez Assigned To => jsantos
2024-06-25 11:02 sfernandez Status new => assigned
2024-06-25 11:02 sfernandez Target Version => 3.2.5
2024-10-24 12:22 jsantos Target Version 3.2.5 => 3.2.6
2024-11-22 18:19 jsantos Target Version 3.2.6 => 3.2.7
2025-01-20 17:42 jsantos Target Version 3.2.7 => 3.2.8
2025-05-28 12:28 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:49 jsantos Target Version 3.2.9 => 3.2.10
2025-10-10 13:29 jsantos Category Unity3D => Unity
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-04 00:39 jsantos Target Version 3.2.12 => 3.2.13