🛠️ [Unity 6] Fix: Drag and Drop Not Working with New Input System #64
rubenskj
announced in
Announcements
Replies: 1 comment
Additional TipIf you run into issues related to dependencies in Unity 6 (such as the Input System or Newtonsoft.Json), we’ve prepared some troubleshooting guides that can help you resolve them: Resolving Input System Dependency Issues in Unity 6 Resolving Newtonsoft.Json Conflicts Feel free to check them out and let us know if you're still experiencing problems! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear developers,
We’ve received several reports about drag-and-drop not working when using Unity 6 with the New Input System. This is due to Unity 6 not properly initializing the input system in certain cases, which prevents interaction with inventory items (e.g., moving or dragging items with the mouse).
In this discussion, we’ll walk you through a temporary fix to restore input functionality in Unity 6. We're also preparing an official patch for the next update, so these changes will no longer be necessary in future versions of the asset.
🔧 Temporary Fix
Here’s how to manually patch the input system to work correctly in Unity 6:
1. Add a method to
InputMiddleware:2. Override that method in
NewInputSystemMiddleware:3. Add a utility method in
InputProviderSo:4. Finally, update
InventoryInputHandlerwith the following:✅ Outcome
After applying these changes, the New Input System should initialize correctly in Unity 6, and drag-and-drop functionality will be restored.
We understand how frustrating this issue can be and are working to include an official fix in the upcoming version of the asset.
If you're still having trouble or need further help, feel free to ask here or through contact e-mail.
https://rushassets.com/contact
Best Regards,
Rush Assets Team
All reactions