Search Issue Tracker
Won't Fix
Votes
1
Found in
5.5.1p4
Issue ID
884458
Regression
No
[WSA] Native XAML component does not accept input from Independent Input Source
1. Create a new project
2. Switch platform to Windows Store
3. Go to Build Settings -> Player Settings -> Publishing Settings -> Misc and change the input source to Independent Input Source
4. Build for WSA Universal 8.1 SDK (.NET backend), Build type - XAML
5. Open Visual Studio solution
6. Add these lines of code to MainPage.xaml
<Grid Margin="0">
<SwapChainPanel x:Name="DXSwapChainPanel" Margin="0">
<Grid x:Name="ExtendedSplashGrid" Background="#FFFFFF ">
<Image x:Name="ExtendedSplashImage" Source="Assets/SplashScreen.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Grid>
</SwapChainPanel>
<TextBox x:Name="TextInputBox" Width="200" Height="60" VerticalAlignment="Center" HorizontalAlignment="Center">
</TextBox>
</Grid>
7. Deploy on local machine (Debug)
8. Observe, the native XAML component does not accept input
Expected result: Native XAML should accept input
Actual result: Native XAML component does not accept input
Note:
User has the issue only with 8.1
Reproduced with: 5.4.5f1, 5.5.2p2, 5.6.0f1, 2017.1.0a2
Workaround: make SwapChainPanel the root element of the XAML page, like so:
<SwapChainPanel x:Name="DXSwapChainPanel" Margin="0">
<Grid>
<TextBox x:Name="TextInputBox" Width="200" Height="60" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Grid>
</SwapChainPanel>
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
- Crash on OnDemandScheduler::HandleImportWorkerLogs when performing various Unity operations
kc828600
Mar 16, 2017 12:41
The issue is happening with UWP 10 build also