Search Issue Tracker
Fixed in 2021.2.X
Loading invalid UXML or USS returns non null object
Loading UXML or USS files with errors returns non-null object. The import shows errors but you can still do
var mysheet = AssetDatabase.LoadAssetAtPath<StyleSheet>("MyBad.uss");
and I get a non null (mysheet != null) StyleSheet object with empty data.
color: rgb(68, 138, 255); dsdd >
Note: Instantiating the returned VisualTreeAsset
will return a null VisualElement though
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Set as first/last sibling is not working when using Menu Bar
- [Hololens 2] GameObjects with an ARAnchor attached are deleted when disabled
- AvatarBuilder.BuildHumanAvatar() is unable to find Transform when entering Play Mode
- Trying to read mesh produces "Reading UV coordinates of mesh "" failed. Only float32 format is supported." error
- Reload Script Assemblies never load when entering debug mode