Author Topic: Docking Systems Spawn at Wrong Height  (Read 7590 times)

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Docking Systems Spawn at Wrong Height
« on: April 27, 2025, 04:11:03 pm »
On first load of the sim at a gate, the docking systems always spawn at the incorrect height than what is saved.

To fix, need to restart Couatl all the time.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #1 on: April 28, 2025, 06:28:44 pm »
Know issue with MSFS 2024: the correct ground altitude is not loaded until *after* a flight started (instead of slightly before, as it should be), which affects default ground vehicles too, which "jumps" when spawning.

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #2 on: April 29, 2025, 12:36:07 pm »
Also get multiple docking systems spawn on load as well.
« Last Edit: April 29, 2025, 01:44:58 pm by davidcherrie »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #3 on: April 29, 2025, 01:02:27 pm »
Also get multiple docking systems spawn on load as well.

That doesn't happen. It might be the profile though, setting two vgds from different parking in the same spot.

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #4 on: April 29, 2025, 01:46:19 pm »
It's not the profiles, I create all my own profiles and this happens sometimes when spawning in. It's not duplicates.

Why not re-spawn the docks when you first click the menu to board/deboard/catering etc? That way they will ensure they aren't duplicates or in the wrong position.


virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #5 on: April 29, 2025, 02:50:51 pm »
Why not re-spawn the docks when you first click the menu to board/deboard/catering etc? That way they will ensure they aren't duplicates or in the wrong position.

That would be the a "solution", but it's the wrong one, because the whole point of VGDS, is they are supposed to spawn (in static version) as soon as you go to the airport. We might kind of "fix" it by setting again the ground altitude after the flight loaded, but they will still look bad "jumping" on you.

You can SORT OF simulate what you are asking, by disabling the option to create Static VGDS in the airport profile Details. This way, no VGDS will be created until after you select the gate.

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #6 on: May 15, 2025, 12:15:25 pm »
Also get multiple docking systems spawn on load as well.

That doesn't happen. It might be the profile though, setting two vgds from different parking in the same spot.

Again, another double spawn so "it does happen". It isn't the profile either. Attached is the log.



davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #7 on: May 21, 2025, 03:31:58 pm »
Happened again. Am guessing its to do with the incorrect height loading, then when you trigger a service it spawns a new one.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #8 on: May 22, 2025, 08:12:14 pm »
Happened again. Am guessing its to do with the incorrect height loading, then when you trigger a service it spawns a new one.

And again, it doesn't. It's NOT spawning a new one, there are two different VGDS in your pictures:

1) the static one, which is just the casing with no text, which is created before you activate the service

2) the dynamic one, which is NORMALLY (that's what happens here, for sure) created at the same position of the static one and, after about 1 second or less (to prevent pop-ups), the static one is removed.

So no, the issue is not GSX is creating double VGDS but, instead, why in your simulator, the command GSX surely sends to removed the static version has been ignored.
« Last Edit: May 22, 2025, 08:16:06 pm by virtuali »

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #9 on: May 23, 2025, 10:53:29 am »
The problem in my simulator? Really, you're blaming Asobo for your program not working? That's rich.

finnisher

  • Newbie
  • *
  • Posts: 13
Re: Docking Systems Spawn at Wrong Height
« Reply #10 on: May 23, 2025, 11:00:30 am »
So no, the issue is not GSX is creating double VGDS but, instead, why in your simulator, the command GSX surely sends to removed the static version has been ignored.

Has this issue been identified and logged? This happened to me too with MK Studios EFHK, which does not have any of its own VDGS and the profile I've used has always worked before.

I restarted couatl from the Windows traybar but that did not help, but then when I restarted couatl from GSX menu the duplicate (static?) VDGS disappeared. Not sure if couatl restart from traybar or from the GSX menu are any different, so is it just the sim (I'm on SU3 beta) ignoring the command and it just took two tries to get the command through?

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #11 on: May 23, 2025, 11:32:50 am »
The problem in my simulator? Really, you're blaming Asobo for your program not working? That's rich.

Because we all know MSFS 2024 is absolutely perfect and has no bugs whatsoever, right ? THAT'S "rich", in fact.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Docking Systems Spawn at Wrong Height
« Reply #12 on: May 23, 2025, 11:49:20 am »
Has this issue been identified and logged? This happened to me too with MK Studios EFHK, which does not have any of its own VDGS and the profile I've used has always worked before.

Yes, of course it has, as I already explained, there's an issue with MSFS 2024 loading the correct ground altitude later, when the flight already started, instead during the loading progress bar.

This can be easily noticed that even default ground vehicles "jump" up/down quickly as soon the flight starts because of this, but since they have some limited physic, they just "jump", but the VGDS is frozen so, if it's created when the ground altitude is not final, it will stay at the wrong altitude until replaced.

The REAL issue is: until now, there's no way to check exactly when the flight starts, because the CAMERA STATE variable doesn't differentiate between the small cinematics before pressing the button and the actual flight start.

This of course has been discussed so many times on MS Devs forum, because it's causing problems with SEVERAL other add-ons, but of course it's easy to always "blame GSX" because you *visually* see a problem with it caused by this, which in turn is caused by the late loading of the ground altitude.

In SU3 BETA, a NEW API has been added to the SDK, called "Flow API", which should report exactly the various stages of the flight, without having to rely on the Camera variables, and this should improve things, because we can now wait until the last moment, when the ground altitude should be finally correct, to create the VGDS, so it should fix this. But first we need to test this, and we'll have to wait until SU3 comes out of beta to eventually release it, because if we rebuild the Couatl engine with the very latest SU3 SDK, it won't work on non-beta versions.

Quote
I restarted couatl from the Windows traybar but that did not help, but then when I restarted couatl from GSX menu the duplicate (static?) VDGS disappeared. Not sure if couatl restart from traybar or from the GSX menu are any different, so is it just the sim (I'm on SU3 beta) ignoring the command and it just took two tries to get the command through?

They are exactly the same call, the only difference might be you just caught a moment where Simconnect was less congested by traffic, so the command GSX surel sends to remove the object, wasn't ignored.

Note that, the static object is not really "removed", because removing/creating objects can create a small stuttering, and once the VGDS goes back to Inactive, we'll need the static one again, so instead of removing it, it's temporarily moved 1000 meters under ground, so there's zero stuttering involved in the object removal/creation, so it's possible THIS is the call that is not working, so it's possible we might find a different workaround.

finnisher

  • Newbie
  • *
  • Posts: 13
Re: Docking Systems Spawn at Wrong Height
« Reply #13 on: May 23, 2025, 01:49:09 pm »
Has this issue been identified and logged? This happened to me too with MK Studios EFHK, which does not have any of its own VDGS and the profile I've used has always worked before.
This of course has been discussed so many times on MS Devs forum, because it's causing problems with SEVERAL other add-ons, but of course it's easy to always "blame GSX" because you *visually* see a problem with it caused by this, which in turn is caused by the late loading of the ground altitude.

Thank you Umberto, I really do appreciate your thorough explanations of things. I'm not here to blame GSX, but to identify and debug issues so they can be fixed. I never encountered this before SU3 beta so I'm very happy to blame Asobo for this one :)

davidcherrie

  • Full Member
  • ***
  • Posts: 128
Re: Docking Systems Spawn at Wrong Height
« Reply #14 on: May 23, 2025, 03:57:00 pm »
The problem in my simulator? Really, you're blaming Asobo for your program not working? That's rich.

Because we all know MSFS 2024 is absolutely perfect and has no bugs whatsoever, right ? THAT'S "rich", in fact.

Please, you tell me "that doesn't happen". You've got great support etiquette that you blame the users and it can never be GSX's fault.