Hi, when I try to save my array (player inventory) unity locks up, when I end process easysave has created a temp files over over 5MB. I just use Get FSM array, then save it. The array is just 12 gameobjects, some array items could be null. Can anyone advise me what is going on?
Thanks
Pete
Unity locks up when saving an Array
Re: Unity locks up when saving an Array
Hi there,
GameObjects can be large objects with a large amount of data to serialize, but it's not possible for me to tell whether this is the case for your project.
Please could you create a new project with a very simple scene which replicates this and private message it to me with instructions.
All the best,
Joel
GameObjects can be large objects with a large amount of data to serialize, but it's not possible for me to tell whether this is the case for your project.
Please could you create a new project with a very simple scene which replicates this and private message it to me with instructions.
All the best,
Joel
-
- Posts: 2
- Joined: Tue May 02, 2023 6:58 am
Re: Unity locks up when saving an Array
Hi Joel, thanks for your quick help. My Array is just contains 3 boxes, I'm sure I'm doing something wrong and I suspect that my inventory system is the problem. I am going to redesign it so that all my game items that can be picked up are scriptable objects, i think it will be a more robust system.
Thanks for your help again, I'm sure ill be back here!
Pete
Thanks for your help again, I'm sure ill be back here!
Pete