View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002099 | NoesisGUI | Unity | public | 2021-08-31 21:34 | 2022-05-20 20:33 |
| Reporter | stonstad | Assigned To | jsantos | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1.0 | ||||
| Target Version | 3.1.1 | Fixed in Version | 3.1.1 | ||
| Summary | 0002099: 3.1.x Upgrade Can't Find XAML | ||||
| Description | Despite my best efforts I can't seem to get 3.1.x Noesis to find certain XAML files that worked previously in 3.0.x and that appear to have the correct file path. My installation workflow entailed deleting all previous NoesisGUI files, and then unzipping Noesis into Assets/Plugins/NoesisGUI. My user interfaces exist in /Assets/User Interface. I am also seeing Unity errors warning me that unique hashes are not generating correctly for Noesis created .asset files. I confirmed correct file paths and dependency references in XAML. For some reason I had to keep reimporting fonts to get them to be finally found. In some instances the issue appears to be static references in OnInitialized. I disabled preview -- but it looks like this Noesis 3.1 may? be calling OnInitialized in my non-variant code which has external dependencies. | ||||
| Steps To Reproduce | No reproduction project yet. I can't run yet. | ||||
| Attached Files | |||||
| Platform | Any | ||||
| related to | 0002077 | resolved | sfernandez | Woes updating to 3.1 |
|
OK, the cause was a user control that had variant code in InitializeComponent. InitializeComponent was failing within Noesis code which in turn caused the XAML to not be found error to appear. The error message shown was incorrect. The new behavior would be fine if the error message was not misleading. |
|
|
There are many things wrong in 3.1 if you are upgrading from 3.0, we are solving all of them with the idea of having a 3.1.1 soon. But just a few comments regarding your installation:
After that, our script should do a reimport all to make sure the importer for each XAML is 'XamlImporter' and for each font is NoesisFontImporter. This step is missing in 3.1.0 and must done manually, xaml by xaml and font by font. Yeah, far from ideal. Rigth now, if you do a Unity reimport all, fonts are properly fixed, but XAML won't be changed. @sfernandez I know you have been doing tests importing projects from 3.0, am I missing something here? |
|
|
Understood. I am reading the tutorial and release notes. |
|
|
I deleted the unzipped folder in Unity. I deleted all .asset files. I installed via the documented package installation process. I'm seeing lots of quirks with UI and purple backgrounds in sprites. I seem to recall this was an issue I encountered before with an undefined style. It is possible that I had customizations in theme files. But the major issue I am seeing is a licensing error. I think I need to take a break from this release to stay productive.
|
|
|
I've just sent you an email with your updated license information, required for NoesisGUI 3.1. |
|
|
Thanks, Sergio. Much appreciated. |
|
|
This was all largely user error. Please feel free to close -- thank you for the help. |
|
|
We'll keep it open because we should detect if user unzips the plugin inside Assets and avoid throwing a NullReferenceException in that case. |
|
|
"1. You shouldn't unzip the package inside /Assets. It must be extracted somewhere else, and then imported from the package manager. The steps are described in the Installation section, but I will review them to make this clearer." Unity references the package files indefinitely from the external directory location. So although I do not store the package files in Unity I have to place them in SCM with the project. Do you put the files in a folder that is a peer to \assets? |
|
|
Yeah, we are doing something similar to that. |
|
|
I think we solved everything here. I am closing this. Thanks again for your feedback! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-08-31 21:34 | stonstad | New Issue | |
| 2021-08-31 21:34 | stonstad | File Added: Errors.PNG | |
| 2021-08-31 21:58 | sfernandez | Assigned To | => jsantos |
| 2021-08-31 21:58 | sfernandez | Status | new => assigned |
| 2021-08-31 21:58 | sfernandez | Product Version | 3.1 => 3.1.0 |
| 2021-08-31 21:58 | sfernandez | Target Version | => 3.1.1 |
| 2021-08-31 21:58 | sfernandez | Description Updated | |
| 2021-08-31 22:03 | stonstad | Note Added: 0007396 | |
| 2021-08-31 22:15 | jsantos | Note Added: 0007397 | |
| 2021-08-31 22:17 | jsantos | Note Edited: 0007397 | |
| 2021-08-31 22:17 | jsantos | Relationship added | related to 0002077 |
| 2021-08-31 22:43 | stonstad | Note Added: 0007398 | |
| 2021-08-31 23:10 | stonstad | File Added: License Error.PNG | |
| 2021-08-31 23:10 | stonstad | Note Added: 0007399 | |
| 2021-08-31 23:16 | stonstad | Note Edited: 0007399 | |
| 2021-08-31 23:17 | stonstad | Note Edited: 0007399 | |
| 2021-09-01 10:38 | sfernandez | Note Added: 0007400 | |
| 2021-09-08 18:09 | stonstad | Note Added: 0007422 | |
| 2021-09-08 18:43 | stonstad | Note Added: 0007423 | |
| 2021-09-08 20:26 | sfernandez | Note Added: 0007424 | |
| 2021-09-10 17:45 | stonstad | Note Added: 0007432 | |
| 2021-09-10 20:48 | jsantos | Note Added: 0007433 | |
| 2021-09-10 20:48 | jsantos | Status | assigned => resolved |
| 2021-09-10 20:48 | jsantos | Resolution | open => fixed |
| 2021-09-10 20:48 | jsantos | Fixed in Version | => 3.1.1 |
| 2021-09-10 20:48 | jsantos | Note Added: 0007434 | |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |