Hello everyone! I want to explain you about bug and ask you how to fix it.
I have an inventory. Simple Array of Items. In the Inventory widget I do foreach loop on array and populate inventory slots as child widgets added to wrapBox or uniform grid panel.
Inventory slots have simplest drag and drop logic. It works perfect in 4.23 bug don’t works in 4.26-5.0.
We can’t possibly guess how it’s set up. Revisit the offending parts of the script, recompile, rewire the troublemaking bits even if they compile.
If you still can’t figure it out, post the actual script.
Things change between versions, moving from 4.23 → 4.26 is a major leap. I’d be surprised if everything worked from the get-go. 4.26 → 5.0 would be a leap of faith - but it depends on the complexity of the project, ofc.
This is inventory script (yes, I recreating slots each update, but bug is exist even first time, so it is not reason, also I can replace uniform grid panel by wrap box, but result is the same)