View Issue Details

IDProjectCategoryView StatusLast Update
0002302NoesisGUIUnitypublic2022-06-18 11:43
Reporterstonstad Assigned Tojsantos  
PrioritynormalSeveritymajor 
Status resolvedResolutionunable to reproduce 
Product Version3.1.3 
Target Version3.1.5 
Summary0002302: Manual XAML Reimport Required for Changes
Description

I'm having to manually reimport XAML after a change is made to see the results at runtime. Sometimes a reimport is not needed; other times it is needed. I do not have any code in place to stop the XAML import processor from running.

Other details -- I have player recompile after script changes enabled. I'm making changes while playback is stopped.

PlatformAny

Activities

jsantos

jsantos

2022-03-09 17:16

manager   ~0007841

I assume this is a unmodified version of Noesis. Please confirm me that.

If you go to NoesisXamlImporter.cs and comment out the first line (to enable #define DEBUG_IMPORTER), Unity will log each time a asset is re-imported.

Everytime you change a XAML, a log line with "=> Import" should appear. Could you please tell if that works?

stonstad

stonstad

2022-03-09 17:45

reporter   ~0007842

Thanks, jsantos. Yes, this is an unmodified version. My prior modification to disable import (while playback is active) has not been merged in. I enabled the preprocessor statements and I'll report back on what I find after attempting a XAML change.

stonstad

stonstad

2022-03-09 17:49

reporter   ~0007844

My XAML changes were picked up. I'll keep this enabled and if it does not work I'll let you know what the console output reports

The file I modified previously which failed to have changes applied was the a file with the missing key in resources issue. Do certain kinds of errors put the XAML file in a state which prevents future reloading?

image.png (42,780 bytes)   
image.png (42,780 bytes)   
jsantos

jsantos

2022-03-09 18:00

manager   ~0007848

Last edited: 2022-03-10 13:04

No, all changes should activate a reimport.

Do you think you can reproduce this again starting with the original project and doing those changes? I am trying and trying but everything works fine.

jsantos

jsantos

2022-03-10 13:06

manager   ~0007852

Our errors are not cleared automatically when they are fixed (in contrast with C# errors). So I assume this is what happened, you fixed the error, it was reimported but you as you kept seeing the error in the console you thought it was not reimported?

stonstad

stonstad

2022-03-11 00:16

reporter   ~0007857

Our errors are not cleared automatically when they are fixed (in contrast with C# errors). So I assume this is what happened, you fixed the error, it was reimported but you as you kept seeing the error in the console you thought it was not reimported?

I tried running a few times as well. OK, I will bring down an older version of the repository and attempt to share it out via a zip file. It may be large. Thank you!

jsantos

jsantos

2022-03-11 11:49

manager   ~0007860

Thanks for the effort. We will give high priority to this once we have it.

jsantos

jsantos

2022-06-17 11:53

manager   ~0007971

Should we close this?

stonstad

stonstad

2022-06-17 20:02

reporter   ~0007976

Yes, thank you!

jsantos

jsantos

2022-06-18 11:43

manager   ~0007979

Thanks for your feedback!

Issue History

Date Modified Username Field Change
2022-03-09 17:07 stonstad New Issue
2022-03-09 17:16 jsantos Note Added: 0007841
2022-03-09 17:16 jsantos Assigned To => jsantos
2022-03-09 17:16 jsantos Status new => feedback
2022-03-09 17:45 stonstad Note Added: 0007842
2022-03-09 17:45 stonstad Status feedback => assigned
2022-03-09 17:49 stonstad Note Added: 0007844
2022-03-09 17:49 stonstad File Added: image.png
2022-03-09 18:00 jsantos Note Added: 0007848
2022-03-09 18:01 jsantos Status assigned => feedback
2022-03-10 13:04 jsantos Note Edited: 0007848
2022-03-10 13:06 jsantos Note Added: 0007852
2022-03-10 13:07 jsantos Target Version => 3.1.4
2022-03-11 00:16 stonstad Note Added: 0007857
2022-03-11 00:16 stonstad Status feedback => assigned
2022-03-11 11:49 jsantos Note Added: 0007860
2022-03-17 02:37 jsantos Status assigned => feedback
2022-03-17 21:31 sfernandez Target Version 3.1.4 => 3.1.5
2022-06-17 11:53 jsantos Note Added: 0007971
2022-06-17 20:02 stonstad Note Added: 0007976
2022-06-17 20:02 stonstad Status feedback => assigned
2022-06-18 11:43 jsantos Status assigned => resolved
2022-06-18 11:43 jsantos Resolution open => unable to reproduce
2022-06-18 11:43 jsantos Note Added: 0007979
2025-10-10 13:29 jsantos Category Unity3D => Unity