Search found 8 matches

by ajsmith595
12 Dec 2017, 00:46
Forum: General Discussion
Replies: 7
Views: 1696

Re: Unity - Calling Thread (7600) doesn't have access to this object (6864) - Is this a bug?

I have now posted a report in the bug tracker.
by ajsmith595
11 Dec 2017, 22:43
Forum: General Discussion
Replies: 7
Views: 1696

Re: Unity - Calling Thread (7600) doesn't have access to this object (6864) - Is this a bug?

[PROJECT LINK DELETED] This is the project I am using minus most of the scripts that do not relate to the error whatsoever. "XAMLStuff.cs" is the thing all the other scripts reference. Remember, I get the Calling Thread ([number]) doesn't have access to this object ([othernumber]) error when I star...
by ajsmith595
11 Dec 2017, 17:43
Forum: General Discussion
Replies: 7
Views: 1696

Re: Unity - Calling Thread (7600) doesn't have access to this object (6864) - Is this a bug?

If wanted, I can post the code for the XAML handling ONLY. All other scripts reference this, therefore the error should be here. However, this only happened after I reimported a different xaml file, and the error was there as it was imported, rather than at runtime, so nothing to do with this script...
by ajsmith595
09 Dec 2017, 03:07
Forum: General Discussion
Replies: 7
Views: 1696

Unity - Calling Thread (7600) doesn't have access to this object (6864) - Is this a bug?

After changing some of my XAML code and importing the new XAML file into Unity, I got the following error message: NoesisException: Calling thread (7600) doesn't have access to this object (6864) Noesis.Error.Check () (at Assets/NoesisGUI/Plugins/API/Core/NoesisError.cs:21) Noesis.View.Noesis_View_C...
by ajsmith595
09 Dec 2017, 03:04
Forum: General Discussion
Replies: 2
Views: 913

Re: Unity XAML Editing at Runtime

I have solved this by instead of using one TextBlock, using a StackPanel with WrapPanels for each line, with TextBlocks in those WrapPanels for each of the different text styles.
by ajsmith595
08 Dec 2017, 16:15
Forum: General Discussion
Replies: 2
Views: 913

Unity XAML Editing at Runtime

I am working with NoesisGUI with Unity, and I am trying to add Run tags into an existing TextBlock at runtime. Is this possible? I am trying to get it so that specific parts of the text are certain colours and bold/italic when needed. If it was a Grid then you could just add a Run tag to its childre...
by ajsmith595
21 Nov 2017, 18:08
Forum: General Discussion
Replies: 3
Views: 1165

Re: Unity Fonts Error

Hi, You should use FontFamily="Fonts/#Segoe UI" and FontWeight="Black" to select that font. We internally use FreeType to process font files and it seems that the library uses "Preferred Family" entry in .ttf 'name' table to fill the family name. In that particular font that value is "Segoe UI". Ta...
by ajsmith595
20 Nov 2017, 19:25
Forum: General Discussion
Replies: 3
Views: 1165

Unity Fonts Error

When I import my XAML file, I get the following error: Assets/XAML/test.xaml(11): Unable to convert 'Fonts/Segoe UI Black' to a valid value for property TextBlock.FontFamily. UnityEngine.Debug:LogError(Object, Object) <ImportXaml>c__AnonStorey0:<>m__0() (at Assets/NoesisGUI/Plugins/Editor/NoesisPost...