Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2019.1.0a1
2019.1.0a13
2019.2.0a1
Issue ID
1115455
Regression
No
Uninformative exception is thrown when using invalid values in the USS "background-color" argument
How to reproduce:
1. Create a new project
2. Open Window > Package Manager
3. Press "Add Package From disk" in the Package Manager
4. Open the attached "UssError.zip"
5. Add "package.json" files that are in NDocumentation-master > NDocumentation-master > com.vertx.nDocumentationExample and com.vertx.nDocumentation folders
6. Press Window > Example Window
7. Observe the console
Expected Behavior: The informative exception is thrown - with an explanation of what is wrong and where
Actual Behavior: The exception is uninformative - shows that something is wrong but does not give any directions or clues on what could be wrong
Reproducible with: 2019.1.0b1, 2019.2.0a2
Note: The exception is thrown because the script is trying to access the wrong value. The value is in Packages > nDocumentation > Styles > "nDocumentationStyles.uss" on the lines 160 and 180. Changing the value to the valid one eliminates the error. Could not reproduce the issue with 2018.3 and 2017.4 because the user code brakes.
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note (2019.2.X):
Problem is due to background-color only supporting rgb, rgba or #hexcode.
A USS validation system is in the work and will give more informative errors in this case.