My inventory items are disappearing when loading a scene.
Tried creating a new test scene and load to that instead for testing, and items are still gone.
Seems to be any new scenes i create, loading to the scene makes items gone.
Thought it may be the hotspot, but nothing on it other than engine change scene.
This is a game/project destroying bug as it stands
--------------------------------
OK, managed to fix it - not sure exactly what as i updated to the latest version. Seems to be working now.
Comments
Still not working. Thought it was as in unity it appears to work. In build, it does not.
Im using unity 5.0.1 eeeeeeek
maybe the problem, still getting it :O
Will updating Unity now, effect AC latest version? (1.46f as of this writing)
Im removing items, adding another.
Go to another scene, and the old item is back.
And, in my game there are chapters - well sometimes, (in chapter two for exampe) if I have a space between two items, moving across a scene to another, some random item from like the intro chapter will be slotted in.
I have no idea what's going on, looked everywhere and at everything. I'm pretty sure its code related to the inventory..
Any suggestions ? Been fighting the inventory for many months.
Even tried creating new inventory, setting all the items back, but still same problems occur.
I got around it before by autosaving before scene transition, but that no longer works either.
I can record videos again if you need to see what's happening, which will show the editor and options.
It could be that it's related to your combination of options in your Settings Manager. Are you able to find steps that cause this problem in the simplest way (e.g. add an item in Scene A, go to Scene B, return to Scene A and it's gone)? If so, please write them in a comment - and also PM me your Manager files (all of them, if possible) in a UnityPackage file. They may be the key to this problem.
The other path of creating with the handle first instead of the antena also works.
Either way, i end up with strange device in inventory.
When I go to the next scene (or rather a specific scene), the strange device has disappeared, and the three items are back, as if the inventory didn't save. Or did, but in the state it was before creation.
Similarly, had all my items in inventory (no combining or anything). Went to another scene (certain scene), all items were gone. Autosaving before i went to that scene (in hotspot) seemed to make them stay in the inventory. Tried that for this other issue, but don't work.
EDIT:
Once i think, i managed to get the strange device to stay (maybe with the autosave), and not show the three items again. but there was a space between items before the scene transition.
An item from the intro (currently end of chapter one) appeared in the space. And natuarlly, i was like WTF ! :P
Your mention of having "space between two items" must mean that you have Items can be re-ordered in Menu? checked in the Settings Manager. I suspect that these issues may disappear if you uncheck that box in the meantime.
And yeah, they maybe a lot of ActionLists to include. Hope i get em all ;p
I set the inventory so that items cant be moved around, and this seemed to fix the issue.
Why would this be?
Needs more testing, but it worked... For now, I will keep it like this and will keep you posted.
Gav
EDIT:
That other issue where i had to autosave for items to remain.... well i removed the autosave after setting the items to non movable. and that also works too :O
The item that gets made from the three pieces, reverts back to three again when moved to the other scene.
Oh man, its killing me lol