|
Post by inkdaemon on Aug 21, 2023 20:33:01 GMT
Hello,
I am trying to use the new input system with "Demo 4" but keep getting several "missing reference" errors. I tried adding the reference, but it doesn't help. I followed all steps in the Demo 4 readme file. I also created a fresh project with just the EndlessBook asset and get the same errors. Any help is appreciated.
Some of the errors: Assets\EndlessBook\Demos\Demo 04 - New Input\Input\BookInputActions.cs(165,22): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?) Assets\EndlessBook\Demos\Demo 04 - New Input\Input\BookInputActions.cs(131,41): error CS0246: The type or namespace name 'InputActionMap' could not be found (are you missing a using directive or an assembly reference?) Assets\EndlessBook\Demos\Demo 04 - New Input\Input\BookInputActions.cs(91,17): error CS0540: 'BookInputActions.IEnumerable.GetEnumerator()': containing type does not implement interface 'IEnumerable' Assets\EndlessBook\Demos\Demo 04 - New Input\Input\BookInputActions.cs(113,28): error CS0246: The type or namespace name 'InputBinding' could not be found (are you missing a using directive or an assembly reference?) Assets\EndlessBook\Demos\Demo 04 - New Input\Input\BookInputActions.cs(79,26): error CS0246: The type or namespace name 'InputControlScheme' could not be found (are you missing a using directive or an assembly reference?)
|
|
|
Post by echo17 on Aug 22, 2023 8:39:21 GMT
Looks like the new assembly definition file I added in v1.13.0 is interfering with the hidden files of Demo 4. Simplest solution is to just delete the assembly file located at "Assets/EndlessBook/EndlessBookAssembly". This file is only useful if you have a massive project and don't want to recompile the EndlessBook code each time, though that code is pretty light and doesn't take a lot of your computation time. You can always create a new assembly definition file if you need it: linkI've submitted v1.13.1 with an update to the instruction readme file. Thanks for pointing this out!
|
|
|
Post by inkdaemon on Aug 23, 2023 0:11:55 GMT
Cool, thank you very much.
|
|