View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001780 | NoesisGUI | Unity | public | 2020-08-17 11:20 | 2020-08-17 18:22 |
| Reporter | blafollette | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.0.1 | ||||
| Target Version | 3.0.5 | Fixed in Version | 3.0.5 | ||
| Summary | 0001780: Native type is not registered error when calling FindName("myName") as ResourceDictionary | ||||
| Description | I've got a big collection of flags that are stored in a <ResourceDictionary x:Name="myName"> in xaml. I wrote an IValueConverter that takes an input string from an item property in a collection and returns the svg resource. The code behind for the xaml exposes a ResouceDictionary property that I use in the IValueConverter to reference the dictionary and return values by key. This is all working great in WPF, but in Unity when I call FindName("myName") to manually assign the ResourceDictionary to the accessor property, it throws an exception "System.InvalidOperationException: Native type is not registered". | ||||
| Steps To Reproduce |
| ||||
| Platform | Windows | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-08-17 11:20 | blafollette | New Issue | |
| 2020-08-17 11:20 | blafollette | Tag Attached: C# | |
| 2020-08-17 11:20 | blafollette | Tag Attached: ResourceDictionary | |
| 2020-08-17 11:20 | blafollette | Tag Attached: Unity | |
| 2020-08-17 11:20 | blafollette | Tag Attached: xaml | |
| 2020-08-17 17:53 | sfernandez | Assigned To | => sfernandez |
| 2020-08-17 17:53 | sfernandez | Status | new => assigned |
| 2020-08-17 17:53 | sfernandez | Target Version | => 3.0.5 |
| 2020-08-17 18:22 | sfernandez | Status | assigned => resolved |
| 2020-08-17 18:22 | sfernandez | Resolution | open => fixed |
| 2020-08-17 18:22 | sfernandez | Fixed in Version | => 3.0.5 |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |