'InputSystem' does not exist in the namespace 'UnityEngine' after updating to the latest version

Announcements, support questions, and discussion for the Dialogue System.
DarkProphet
Posts: 15
Joined: Thu Dec 16, 2021 2:09 pm

Re: 'InputSystem' does not exist in the namespace 'UnityEngine' after updating to the latest version

Post by DarkProphet »

Okay, I just did.
Even before installing the Input system, I'm getting the errors below. I had more errors relating to Febucci TextAnimator, but I managed to get rid of all save one by adding all the (4) febucci assemblies to all the different asmdef files within PixelCrushers. Still can't get rid of the last one an also can't find any assembly to get rid of the CustonLuaFunctionInfo error either.

Thanks for bearing with me in this, appreciate your time!
Attachments
Screenshot 2024-10-09 at 17.07.12.png
Screenshot 2024-10-09 at 17.07.12.png (39.95 KiB) Viewed 58 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: 'InputSystem' does not exist in the namespace 'UnityEngine' after updating to the latest version

Post by Tony Li »

As a test, can you back up your project and then delete all 4 of the Dialogue System's asmdefs? (PixelCrushers, PixelCrushersEditor, DialogueSystem, DialogueSystemEditor)

Then make sure there are no asmdefs in the parent folders Plugins and Plugins/Pixel Crushers.

Let me know if that resolve the issue.

If you must use asmdefs for the Dialogue System for some reason, try removing both copies of the CustomLuaFunctionInfo.cs script and updating to the latest version of the Dialogue System. Note: If you're only using asmdefs to speed up compilation, it's not necessary. The Dialogue System is already in the Plugins folder, which already gets compiled separately.
DarkProphet
Posts: 15
Joined: Thu Dec 16, 2021 2:09 pm

Re: 'InputSystem' does not exist in the namespace 'UnityEngine' after updating to the latest version

Post by DarkProphet »

Allright,
after much troubleshooting it seems like the culprit was a 'Plugins.asmdef' file in the root Plugins folder.
I'm not sure when, or even if, I myself made that, but deleting it and regenerating the library folder seems to have done the trick.
Installed the InputSystem again and now, no errors!
PixelCrushers was visible in the Tools bar and I could easily enable the USE_NEW_INPUT checkbox.

Fingers crossed this takes care of my problems!

Thanks for your time and followup! Best support forum ever!
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: 'InputSystem' does not exist in the namespace 'UnityEngine' after updating to the latest version

Post by Tony Li »

Happy to help! I'm glad you found the culprit.
Post Reply