Search Issue Tracker

In Progress

Votes

0

Found in [Package]

1.0.0-pre.1

Issue ID

DANB-1017

Regression

No

Error present when inheriting from Editor Class and Unity AI Toolkit is installed

Package: 2D Enhancers

-

How to reproduce:

1. Create a new 2D URP project
2. Install Unity AI
3. Create a custom Editor script that inherits from the Editor Class
4. Save the script and observe console

Expected result: The script compiles without errors
Actual result: an error is present "error CS0118: 'Editor' is a namespace but is used like a type"

Workaround: Specify the name fully with "UnityEditor.Editor" instead of "Editor"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.