NoesisWorldUI not rendering
Posted: 23 Jan 2024, 22:37
I'm having some issues getting a simple UI to show using NoesisWorldUI in my Unreal 5.1.1 project. This is the XAML:
It's a C++ project which I've added the necessary module dependencies and #include to the header file.
As far as I can tell, I have followed the first steps guide on the documentation to the letter and the plugin is installed correctly. But the test UI I have created fails to display at all when it's added to a NoesisWorldUI component. I can get it to show if I create a NoesisView and then add that to a Widget component instead, but I would like to get the WorldUI working as it's a VR project and I feel it would be more suitable.
Further to the above, a few more issue that are less pressing:
Code: Select all
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:CPVRGUI.UI.Noesis"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Title="ExamplePage">
<Grid Background="White">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="36">
This is a test!!!!
</TextBlock>
</Grid>
</Page>As far as I can tell, I have followed the first steps guide on the documentation to the letter and the plugin is installed correctly. But the test UI I have created fails to display at all when it's added to a NoesisWorldUI component. I can get it to show if I create a NoesisView and then add that to a Widget component instead, but I would like to get the WorldUI working as it's a VR project and I feel it would be more suitable.
Further to the above, a few more issue that are less pressing:
- Nothing shows in the editor viewport before playing. I can't even see the Widget component version of the UI until I hit play. (I'm wondering if this is expected as you've used arrows to represent the orientation of the UI in the WorldSpaceUI level sample, is there a way to preconstruct the UI at all if so?)
- Editing the NoesisView asset and saving/compiling often crashes Unreal. The last two times it did this, it was after I had changed the XAML between mine and the Hello World sample and after I had enabled, then disabled, PPAA. I haven't tested this extensively but I feel it probably crashes regardless of what you change, seems random.
- I can't see the LogNoesis category in the output log settings. I might have been able to figure out what's wrong if that was at least working!
