Hey
I have this weird new bug i noticed. I have two scenes. Old mans' house and rude boys hangout
if i enter Rude Boys Hangout - all my inventory items are gone. no idea where to even start looking at what could cause it. nothing in OnStart seem to be the bad command for this.
whe going from RBH to OMH they stay in my invenotry it's just when i enter RBH. no idea why.
what should i try looking for to figure this out? (Can it also be something to do with Dialogue System
@pixelcrushers?)
Oded
Comments
Do they stay if run an autosave before going to next scene?
Do you have items can be reordered in inventory checked in setting ?
The project also uses the Dialogue System for Unity. I made a copy of the project and completely removed all traces of the Dialogue System for Unity. It still exhibited the same inventory issue, so we eliminated the Dialogue System as a variable.
If I add an instance of the player prefab to the INT scene, the problem appears to go away.
If I save the game before moving to INT (even if INT doesn't have an instance of the player prefab), the problem appears to go away.
I think there are 1/2 reasons why.
I originally solved it by using an autosave before going to the next scene, without it, the items would disappear.
Having played with things more, my guess is that it was because the scene i was going to had no a sorting map, default navmesh, gamecamera etc in the scene settings tab.
Once i filled in these, things work as it should.
So now, even if i dont use them, i set things up.
Can you test this. might be the cause.,