yasirkula / UnityRuntimeInspector

Runtime Inspector and Hierarchy solution for Unity for debugging and runtime editing purposes
MIT License
1.75k stars 139 forks source link

Compilation error with Input System Package enabled #42

Closed ksksni closed 3 years ago

ksksni commented 3 years ago

Description of the bug

Compilation error when using Input System Package

error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Reproduction steps

  1. Set Project Settings > Player > Other Settings > Active Input Handling to Input System Package (New)
  2. Install RuntimeInspector package

Platform specs

yasirkula commented 3 years ago

For now, please see: https://github.com/yasirkula/UnityRuntimeInspector#new-input-system-support. I'll probably make the switch easier in the future.

ksksni commented 3 years ago

Thank you. You can edit asmdef in unitypackage or AssetStore assets, but not in PackageManager packages. I'd like to see it in the C. INSTALLATION section in README.

(via Package Manager, Old Input Manager must be enabled) add the following line to Packages/manifest.json
yasirkula commented 3 years ago

I've mentioned it in the first step:

the plugin mustn't be installed as a package, i.e. it must reside inside the Assets folder and not the Packages folder

ksksni commented 3 years ago

Sorry, I hadn't checked thoroughly.