View Issue Details

IDProjectCategoryView StatusLast Update
0001494NoesisGUIUnitypublic2019-06-20 17:40
ReporterGrandpa3D Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version2.2.2 
Summary0001494: The Unity NorthGame package Does not work
Description

The Unity NorthGame package that is on the GitHub repository gives many errors when it is opened. The errors are still there after including the NoesisGUI Extensions. Are there any plans to update this.

Steps To Reproduce

1) Open the project in Blend For Unity 2019 version 16.1.2
2) Include NoesisGUI Extensions

PlatformWindows

Activities

Grandpa3D

Grandpa3D

2019-06-18 05:51

reporter   ~0005732

After some more investigation it appears as if this is missing in the XAMLs: xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"

sfernandez

sfernandez

2019-06-18 10:06

manager   ~0005734

Could you please indicate which xaml is missing the interactivity and interactions namespaces?
I reviewed all the xamls and the ones requiring those namespaces already include them.

Grandpa3D

Grandpa3D

2019-06-18 20:05

reporter   ~0005740

I should have marked my changes as I made them, but I forgot to. I am including a corrected version of the package. It is error free in Blend but it still doesn't work in Unity. I believe it is due to the way events are being handled in the XAMLs. I am currently investigating this, but I am very new to Noesis so I'll have to work through the APIs.

It appears as if I won't be able to upload the corrected package. It is to big a file.c Let me compare my corected version to the one on GitHub and I will send a list of the changes I made.

Grandpa3D

Grandpa3D

2019-06-18 20:36

reporter   ~0005741

Here are the changes I made.
Images.xaml: CORRECTED xmlns:noesis="clr-namespace:NoesisGUIExtensions"> TO xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
MOVED xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions" ABOVE xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"

MainWindow.xaml: ADDED xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" "I DON"T THINK THIS WAS NEEDED"

Resources.xaml: MOVED xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions" ABOVE xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"

sfernandez

sfernandez

2019-06-19 11:38

manager   ~0005742

Resolved in https://github.com/Noesis/Tutorials/commit/ffab50df09a645ecc7e7c2acf2d006556247d48f
I verified it compiles and runs in both Blend (for Visual Studio 2015) and Unity 2019.1.1f1. Could you please confirm it also works in your version of Blend and Unity?

Grandpa3D

Grandpa3D

2019-06-20 03:01

reporter   ~0005748

It does not work in my version of Unity 2019.1.1f1.
It loads fine but none of the buttons work.
This is the error I receive: noesis] Assets/NoesisGUI/Samples/NorthGame/Menu.xaml(194): Unknown type 'NoesisApp.Interaction'.

sfernandez

sfernandez

2019-06-20 10:08

manager   ~0005749

Hi, this demo uses the Interactivity classes included in our Unity package under 'NoesisGUI/Samples/Interactivity'.
You have to import that folder along with the Plugins folder into the NorthGame project.
Does that fix the errors?

Grandpa3D

Grandpa3D

2019-06-20 17:10

reporter   ~0005753

Yes that fixed the issue. Quick question though? As someone new to this how would I know I need to include this package and where to locate it. It seems as though it is kinda hidden being in the Samples folder

sfernandez

sfernandez

2019-06-20 17:40

manager   ~0005756

You're right, this is probably something we should indicate in the README.md page of that sample (and other samples in the same situation).

Issue History

Date Modified Username Field Change
2019-06-18 02:18 Grandpa3D New Issue
2019-06-18 02:18 Grandpa3D Tag Attached: C#
2019-06-18 02:18 Grandpa3D Tag Attached: Unity
2019-06-18 05:51 Grandpa3D Note Added: 0005732
2019-06-18 10:02 sfernandez Assigned To => sfernandez
2019-06-18 10:02 sfernandez Status new => assigned
2019-06-18 10:06 sfernandez Status assigned => feedback
2019-06-18 10:06 sfernandez Note Added: 0005734
2019-06-18 20:05 Grandpa3D Note Added: 0005740
2019-06-18 20:05 Grandpa3D Status feedback => assigned
2019-06-18 20:36 Grandpa3D Note Added: 0005741
2019-06-19 11:38 sfernandez Status assigned => feedback
2019-06-19 11:38 sfernandez Note Added: 0005742
2019-06-20 03:01 Grandpa3D Note Added: 0005748
2019-06-20 03:01 Grandpa3D Status feedback => assigned
2019-06-20 10:08 sfernandez Status assigned => feedback
2019-06-20 10:08 sfernandez Note Added: 0005749
2019-06-20 17:10 Grandpa3D Note Added: 0005753
2019-06-20 17:10 Grandpa3D Status feedback => assigned
2019-06-20 17:40 sfernandez Status assigned => resolved
2019-06-20 17:40 sfernandez Resolution open => fixed
2019-06-20 17:40 sfernandez Note Added: 0005756
2025-10-10 13:29 jsantos Category Unity3D => Unity