Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

USS unit warnings on import #11

Closed
ptbarnaby opened this issue Jan 27, 2021 · 1 comment
Closed

USS unit warnings on import #11

ptbarnaby opened this issue Jan 27, 2021 · 1 comment

Comments

@ptbarnaby
Copy link

Shows numerous warnings on import (Unity 2020.1.14f1), e.g.

StyleSheet import: type=Validation, code=InvalidProperty file=Packages/com.av.smart-hierarchy/UI/preferences-style.uss:3 Expected (<length> | <percentage>) but found '6' padding-left: 6 -> Property expects a unit. Did you forget to add px or %?

StyleSheet import: type=Validation, code=InvalidProperty file=Packages/com.av.smart-hierarchy/UI/popup-window.uss:21 Unknown property '-unity-slice' (did you mean '-unity-slice-top'?) -unity-slice: 1

@neon-age
Copy link
Owner

I just noticed that there is "Disable Validation" toggle on StyleSheet assets. They won't bother you anymore 🙂

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants