- Home /
moved project to new version of Unity, Weird stylehseet error
I moved the project from version 2020.1.15f1 to version 2021.1.7f1. Doing so caused these 3 errors to appear:
First: Library\PackageCache\com.unity.ui.builder@0.10.1-preview\Editor\Utilities\Importers\BuilderStyleSheetImporter.cs(6,48): error CS0246: The type or namespace name 'StyleSheetImporterImpl' could not be found (are you missing a using directive or an assembly reference?)
Second: Library\PackageCache\com.unity.ui.builder@0.10.1-preview\Editor\Utilities\Importers\BuilderStyleSheetImporter.cs(13,44): error CS0115: 'BuilderStyleSheetImporter.DeclareDependencyAndLoad(string)': no suitable method found to override
Third: Library\PackageCache\com.unity.ui.builder@0.10.1-preview\Editor\Utilities\StyleSheetExtensions\StyleSheetUtilities.cs(13,25): error CS0246: The type or namespace name 'StyleSheetImporterImpl' could not be found (are you missing a using directive or an assembly reference?)
I tried deleating the folder so the project would automatically import updated files, but when it imported the files, they still have this error. Any clue?
Answer by AAcat · May 20, 2021 at 05:01 AM
found out why, removed UI Builder package to resolve, as it is experimental. Not sure if i ever even used it, but just in case does anyone know what the latest alternative to this is package?
Your answer
Follow this Question
Related Questions
Weird Error after Update 4 Answers
Error: VersionFormatException: Unable to read word: No letters at index 0. 0 Answers
Migration from Unity 5.5.0f3 to Unity 2017- error and HoloLens app not building 0 Answers
How do I fix an error when importing a heightmap? 1 Answer
The console no longer takes you directly to the error in the script? 1 Answer