Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

Crash while installing a aircraft wheel

HydrogenC opened this issue · 11 comments

commented

I installed the latest version of IV and Golden Airport Pack, and as met the problem as the title explained.
crash-2019-11-24_08.59.55-client.txt

commented

Going to need more information to know why this is happening.

  1. What vehicle were you putting the wheel on?
  2. What wheel were you attempting to put on?
  3. Were you on a server, or in Singleplayer?
  4. Does the same issue happen if you remove all other mods besides IV?
commented

The CRJ700 in Golden Airport Pack
Small aircraft wheel in UNU Parts Pack
Singleplayer
Yes, I attempted to install only IV and its packs, this bug also occurs. Also, the bug doesn’t occur every time, it occurs occasionally, I would have to try several times to make it reproduce.

commented

Interesting. Is this in creative mode or survival?

commented

Very odd. This crash is on the client, and indicates that "air" was put on the vehicle on the server, because only if a valid part is put on the vehicle does this packet get sent. You wouldn't be able to do the same crash with only MTS, and then post the crash and the log, would you? If I'm getting any unchecked exceptions I should be able to see those in the log and they'll help me track down the issue quicker.

commented

Example:
2019-11-30_13 59 06
These two crate slots are very close to each other. If I click this way, both of them would respond to my click at a time, and that's the cause of the crash.

commented

I have confirmed that the cause of this bug is caused by the reasons above.
Now I am able to elaborate the cause of the bug.
For example:

  1. Two wheel slots are so close to each other that if I click on one of them, the other one will also be clicked on.
  2. I have one wheel on my hand, and I clicked on the green cube.
  3. Both slots are detected to be clicked, and both of them intended to subtract one wheel from my inventory, but I've got only one. -> boom, crash!
commented

Ah, in that case I know exactly where the issue is. Will do my best to fix in the next update.

commented

Thanks very much

commented

See, that statement would make sense, except for this point: "and both of them intended to subtract one wheel from my inventory, but I've got only one". The only time the system removes items from an inventory is survival mode, and you told me earlier you were in creative. That being said, your screenshot shows survival. Need to know which modes this occurs in to be sure I know what the issue is.

commented

See, that statement would make sense, except for this point: "and both of them intended to subtract one wheel from my inventory, but I've got only one". The only time the system removes items from an inventory is survival mode, and you told me earlier you were in creative. That being said, your screenshot shows survival. Need to know which modes this occurs in to be sure I know what the issue is.

Actually survival, I misstated before.

commented

Fixed in V15.6.0.