Vigilantes > Resolved Bugs
[Fixed] Menu erases content of the backpack on the floor
ushas:
(v19, linux)
Problem: If you escape to the menu while the current unit was standing over a backpack with some stuff in it, the game will erase its content.
I don't know what happens at that point if we will get some of those items back in the post battle loot, but for sure I haven't gotten back my own items I dropped this way.
How to reproduce: drop something to the ground, then espape to the menu and back and go to the inventory again. Now you see no items on the ground and they won't come back. The backpack is still on the floor though.
As far as I've tested it erases items under the foot only for the currently active unit, any other items that were dropped anywhere else will stay.
There are no errors reported in the log, however when menu-escaping some suspicious lines appear:
--- Code: ---GameOptions.SwitchOffMenuCanvas. (In combat)
UIManagerScript.HandleBackButtonPressInCombatScene. Method called
UIManagerScript.SwitchOnCombatUI. Method called. Yielding for: 0 seconds
BattleControlScript.CheckIfLootContainerNeedsToBeDestroyed. Method called
BattleControlScript.CheckIfLootContainerNeedsToBeDestroyed. This tile has No Loot container script.
BattleControlScript.CheckIfLootContainerNeedsToBeInstantiated. Method called
BattleControlScript.CheckIfLootContainerNeedsToBeInstantiated. There are NO items left on the ground. A loot container does not need to be instantiated. Setting tile's reference to loot container to null
CharMainScript.CheckIfSelectedItemRemoved. Method called
--- End code ---
Lies! There were items, I saw them... really, could've almost swear.
Additionally, there might be some bigger stopper possible. Once, after tinkering with this issue and spending all Sam's AP on inventory operations I got him into the state where the game wouldn't let me end the turn (tried both, shortcut and button). So it was restart. But wasn't able to reproduce since.
Daithi:
Will check this out - cheers!
Daithi:
Fixed!
Nomad:
Ahh.... That's what happened...
I had an enemy shoot at me with a rifle of some kind.
At the end of the battle, there was no rifle in any loot whatsoever. I never noticed it happen again... so I didn't report it (it was an observation and of little help unless I could recreate it or at least give some valid information).
I must have checked my inventory or something during the fight. I don't believe I was over the ememy's backpack at the time... so Daithi... the fix you did... would that account for my vague experience?
Daithi:
Hey Nomad - it could, but there's another possibility. Some of the loot that's dropped is considered out of sight (maybe the owner has fallen on it, has fallen in storm drain etc) and are added to the items that can be found in post missions looting. Typically these items are in the first and second containers.
Navigation
[0] Message Index
[#] Next page
Go to full version