Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
2
Found in
2019.4
2020.3
2020.3.15f2
2021.1
2021.2
2022.1
Issue ID
1357597
Regression
No
Errors are spammed in the Console upon opening imported video in the Inspector tab when Target Platform is set to UWP
How to reproduce:
1. Create a new Unity project
2. In File > Build Settings, make sure that Target Platform is set to Universal Windows Platform
3. Drag and drop the attached file "file_example_MP4_640_3MG.mp4" into the Project tab
4. Press on the imported file to open it in the Inspector tab
Expected results: There are no errors in the Console tab
Actual results: The following error is spammed in the Console tab:
"ArgumentException: Unknown platform passed to VideoClipImporter.GetTargetSetting (WSA), please use one of 'Default', 'Standalone', 'Android', 'iOS', 'Lumin', 'PS4', 'Switch', 'tvOS', 'WebGL', 'WSA', 'WebGL' or 'XboxOne'."
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Notes:
- Applying "Override for Windows Store Apps" and "Transcode" in the Inspector tab doesn't resolve the issue
- The number of errors increases when moving the cursor within the Inspector tab
- The issue reproduces with .mp4, .wmv, .avi, .mov, .ogg, and .webm files
Comments (1)
-
UnityZhF
Aug 30, 2021 10:10
Reproducible with: 2019.4.12f1
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2022.1):
Platform name and platform group name changes for UWP had not been propagated to the VideoClipImporter. Changed the implementation to avoid depending on platform name to group name conversion, which was fragile.
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.1f1
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.28f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.24f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.34f1