i tried it and final after searching a loot i couldn't find any answer to it ..
i have a game object that contains a canvas, in that canvas i have inventory and i am dynamically adding items in to it so when ever i dynamically add new item it wont get parented to the slots and if i make the canvas not a part of DontDestroyOnLoad object then it works fine. i don't know what i am doing wrong but please help.. !
↧