Search Issue Tracker
Fixed in 1.0.0-preview.12
Votes
10
Found in [Package]
1.0.0-preview.6
Issue ID
1278482
Regression
No
"Error CS0200: Property or indexer 'Editor.inspectorMode' cannot be assigned" error is thrown when UIToolkit is imported
How to reproduce:
1. Create a new project
2. Open the created project's folder
3. Open the Packages folder
4. Open the manifest.json file with a text editor
5. Add this line to the manifest.json file: "com.unity.ui": "1.0.0-preview.6",
6. Go back to the Editor
7. Observe the Console log
Expected result: No errors are thrown in the Console log
Actual result: "error CS0200: Property or indexer 'Editor.inspectorMode' cannot be assigned to -- it is read only" error message is thrown in the Console log
Reproducible with: 2020.2.0b3 (1.0.0-preview.6)
Not reproducible with: 2020.1.6f1, 2020.2.0b2 (1.0.0-preview.6)
Could not test with: 2018.4.27f1, 2019.4.11f1 (UI Toolkit not supported)
-
langtusaupt
Oct 02, 2020 01:39
This is happening to me now today as well having updated from 2020.2.0b4 along with UI Toolkit 1.0.0-preview.9
-
JohngUK
Sep 30, 2020 09:08
I get the same error if I download the latest version of UIToolkitUnityRoyaleRuntimeDemo-master.zip and open it with Unity 2020.2.0b4
-
MostHated
Sep 30, 2020 02:13
This is happening to me now today as well having updated from 2020.2.0b4 along with UI Toolkit 1.0.0-preview.9
-
Siiseli92
Sep 29, 2020 15:13
Can confirm this error also occurred for me after updating unity to 2020.2.0b4 from an earlier version of 2020.2 and ui toolkit to version 1.0.0-preview.9
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 after building a project with URP Sample
- MissingReferenceException after clicking "Fix now" on NormalMap settings
- The "UniversalRenderPipelineGlobalSettings.asset" is creating noise in the git diff when building a Player
- Scene is marked as dirty when opening the project with Vertical Layout Group added as a Component
- Crash on UnityEngine::Animation::SetGenericFloatPropertyValues when keyframing the RigBuilder component to Enabled and Disabled
Resolution Note (fix version 1.0.0-preview.12):
This issue is fixed with 1.0.0-preview.12 and 2020.2.0b9
https://forum.unity.com/threads/ui-toolkit-latest-version-1-0-0-preview-12.941420/