FloatingOriginInteractive / BalsaIssues

The official issue tracker for Balsa Model Flight Simulator
6 stars 0 forks source link

Camera Nonsense in the Workshop #31

Open Ranganrs1 opened 3 years ago

Ranganrs1 commented 3 years ago

Describe the bug The player can walk around the workshop as if it were the level, and then the camera seems to go underground, and a lot of nonsense happens.

To Reproduce What I was doing:

  1. Build a missile
  2. Throw it, then activate the rocket engines
  3. Miss
  4. Return to the workshop
  5. The player can walk around in the workshop
  6. The camera goes crazy
  7. The screen goes black, dev console reports errors, and the game is softlocked.

Expected behavior The game should return to the workshop normally.

Screenshots I only started recording after I was able to walk around inside the editor, so I missed the missile shenanigans I was doing beforehand. https://user-images.githubusercontent.com/49313240/131427183-cbd3b928-4c03-42ce-b480-8bf42bc66803.mp4

If GitHub's video doesn't work: https://youtu.be/BFwaBukI9hk

Desktop (please complete the following information):

Additional context I have no clue.

Ranganrs1 commented 3 years ago

My apologies for the horrid video quality. I hit win-alt-r as that was the fastest way I could start recording.

The errors after the fade to black talk about the screen being outside of the camera frustum. "Screen position outside of view frustum screen pos 1720 720 camera view 0 0 3440 1440" (I've removed the trailing zeroes for readability) It appears that I may have fallen through the floor? I'm not certain what the elongated things in the center are.

PsykomantaBrain commented 3 years ago

It's hard to tell what's going on for this one. We usually need a lot more information to figure out a bug.

How did you return to the workshop? Did you use a menu option or did you walk back in? Was the vehicle crashed or still flying? Were you in Career, Multiplayer or Sandbox Singleplayer? Did the vehicle go outside the signal boundary (off the map)?

Ranganrs1 commented 3 years ago

It's hard to tell what's going on for this one. We usually need a lot more information to figure out a bug.

How did you return to the workshop?

Did you use a menu option or did you walk back in?

Was the vehicle crashed or still flying?

Were you in Career, Multiplayer or Sandbox Singleplayer?

Did the vehicle go outside the signal boundary (off the map)?

So, I had built a missile (nosecone w/ five rockets). I threw it into the air and activated the motors, and it planted itself into the ground not very far from me, so it was crashed (though parts of it may have been flying still). I was in sandbox singleplayer, and I returned to the workshop using the escape menu option.

The vehicle, as far as I can tell, didn't leave the signal boundary, though I did lose sight of it as it went behind the hill you start on. Perhaps part of it clipped through the ground and left the map? I'm not certain, as I returned to the workshop basically as soon as it started flying towards the ground so that I could try again.

This particular vehicle is capable of leaving the map in a few seconds after the engines are lit because it weighs nothing and has insane thrust, so I can't definitively say it didn't.

Ranganrs1 commented 3 years ago

I managed to trigger this again using the missile. I'm not sure what element of all of this it is, but this time I sent the missile out of the map while walking and returning to the workshop. https://youtu.be/8Joo2VnZZlc

anth1256 commented 3 years ago

Player Return to workshop bug.log

This is the log file for when it happened to me.

Could the craft be punching through the terrain downwards when it shouldn't be that is causing this?

"InvalidOperationException: [EditorDriver]: EditorLogic already exists! Cannot start editor mode again" is the only thing I have seen in the log file but I am not entirely sure what I am looking for

anth1256 commented 3 years ago

Craft File: missile.zip

How I recreated the bug from beginning to end: https://youtu.be/w8pqyT1YqAU

Log File from the video: Player From Video.txt

anth1256 commented 3 years ago

Note after its happened that the screen positioning is glitching and on the ground the craft is appearing on the ground for a fraction of a second.

Also Look at 13 to 14 seconds into the video for Spd that is 36000000000000000km/h and an altitude of 40221390000000m

"Coroutine couldn't be started because the the game object 'missile (Anth1256)' is inactive!" is in the log file