crash on JSBSim with UE5.1 #825
Replies: 4 comments
-
Does the default and included aircraft work, the one labeled BP_Airliner? I'm not sure what you mean added the JSBSimcomponent to the aircraft blueprint. The default BP_Airliner already has the JSBSim component in it. If you are making your own aircraft blueprint, from scratch, please provide more details as to when and how you're adding the JSBSim component. If you can't describe it, please share screens shots of what you're doing/working on. As for the Debug version, yes that's broken. Only JSBSim release build works. |
Beta Was this translation helpful? Give feedback.
-
I’m following the directions from https://dev.epicgames.com/community/learning/tutorials/mmL/unreal-engine-a-diy-flight-simulator-tutorial in the section ‘Co-Simulation with a flight dynamic model’ where it says to add the JSBSim MovementComponent to the aircraft Blueprint.
I created the BP_Airliner as a Pawn Blueprint and then try and add the JSBSim component and it crashes it immediately as shown:
***@***.***
***@***.***
End of the log from the crash:
[2023.02.03-07.04.12:343][551]LogActorFactory: Actor Factory attempting to spawn BlueprintGeneratedClass /Game/BP_Airliner.BP_Airliner_C
[2023.02.03-07.04.12:343][551]LogActorFactory: Actor Factory attempting to spawn BlueprintGeneratedClass /Game/BP_Airliner.BP_Airliner_C
[2023.02.03-07.04.12:348][551]LogActorFactory: Actor Factory spawned Blueprint /Game/BP_Airliner.BP_Airliner as actor: BP_Airliner_C /Game/NYFlight.NYFlight:PersistentLevel.BP_Airliner_C_0
[2023.02.03-07.04.12:350][551]LogActorFactory: Actor Factory spawned Blueprint /Game/BP_Airliner.BP_Airliner as actor: BP_Airliner_C /Game/NYFlight.NYFlight:PersistentLevel.BP_Airliner_C_0
[2023.02.03-07.04.13:633][625]LogActorFactory: Actor Factory attempting to spawn BlueprintGeneratedClass /Game/BP_Airliner.BP_Airliner_C
[2023.02.03-07.04.13:633][625]LogActorFactory: Actor Factory attempting to spawn BlueprintGeneratedClass /Game/BP_Airliner.BP_Airliner_C
[2023.02.03-07.04.13:635][625]LogActorFactory: Actor Factory spawned Blueprint /Game/BP_Airliner.BP_Airliner as actor: BP_Airliner_C /Game/NYFlight.NYFlight:PersistentLevel.BP_Airliner_C_1
[2023.02.03-07.04.13:636][625]LogActorFactory: Actor Factory spawned Blueprint /Game/BP_Airliner.BP_Airliner as actor: BP_Airliner_C /Game/NYFlight.NYFlight:PersistentLevel.BP_Airliner_C_1
[2023.02.03-07.04.22:384][146]LogDerivedDataCache: C:/Users/pcobb/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:03.163 and deleted 0 files with total size 0 MiB. Scanned 2423 files in 2404 folders with total size 134 MiB.
[2023.02.03-07.04.24:327][260]LogJSBSim: Display: UJSBSimMovementComponent::LoadAircraft
[2023.02.03-07.04.24:345][260]LogJSBSim: Display: Initializing JSBSimFlightDynamicsModel using Data in 'C:/Users/pcobb/Documents/Unreal Projects/DopplerTest/Plugins/JSBSimFlightDynamicsModel/Resources/JSBSim'
You mention an included aircraft BP_Airliner, is their one with the JSBSim code already created?
Thanks,
Paul
From: gallonmate ***@***.***>
Sent: Thursday, February 2, 2023 8:14 PM
To: JSBSim-Team/jsbsim ***@***.***>
Cc: Paul Cobb ***@***.***>; Author ***@***.***>
Subject: Re: [JSBSim-Team/jsbsim] crash on JSBSim with UE5.1 (Discussion #825)
Does the default and included aircraft work, the one labeled BP_Airliner?
I'm not sure what you mean added the JSBSimcomponent to the aircraft blueprint. The default BP_Airliner already has the JSBSim component in it.
If you are making your own aircraft blueprint, from scratch, please provide more details as to when and how you're adding the JSBSim component. If you can't describe it, please share screens shots of what you're doing/working on.
As for the Debug version, yes that's broken. Only JSBSim release build works.
—
Reply to this email directly, view it on GitHub<#825 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYV47OLDJP5GRRPWIN6APBDWVSAZHANCNFSM6AAAAAAUPWGJP4>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
I have no idea what you're doing because you didn't answer my questions or show your editor. I wanted to see a picture of exactly what you're doing in the editor. If you are still having issues after following this, then it's possible your installation/project became corrupted. In which case, I would just delete the entire thing. And start from a fresh build. Then open the project seen below and make sure you can hit the Play button and the aircraft works, before doing any custom building of your own blueprint or aircraft. |
Beta Was this translation helpful? Give feedback.
-
RTFM! Got it working. Obviously got confused by Antoinette docs and didn’t finish doing what you said below.
I also had to switch to the ‘Latest’ compiler in the BuildConfiguration.xml file otherwise it still crashes. The default for the VS 2019 seems to be an earlier version ‘14.29.30133’ that doesn’t work
Thanks!
Paul
From: gallonmate ***@***.***>
Sent: Thursday, February 2, 2023 11:57 PM
To: JSBSim-Team/jsbsim ***@***.***>
Cc: Paul Cobb ***@***.***>; Author ***@***.***>
Subject: Re: [JSBSim-Team/jsbsim] crash on JSBSim with UE5.1 (Discussion #825)
I have no idea what you're doing because you didn't answer my questions or show your editor. I wanted to see a picture of exactly what you're doing in the editor.
Since you haven't provided that, here's what you can and should do on your own: Open the default project, called UEReferenceApp.uproject. Found in the Unreal Folder, under JSBSim main folder. Seen in the first picture below. Once the project and editor is finished loading, the default screen should appear as the second image below, with the airplane and runway. That's the BP_Airliner which is a fully functioning and ready to fly blueprint using JSBSim. If you happened to create a new blueprint named BP_Airliner, it's possible you cause some error which is causing you to crash the editor. If you are still having issues after following these simple images, then it's possible your installation/project became corrupted. In which case, I would just delete the entire thing. And start from a fresh build. Then open the project seen below and make sure you can hit the Play button and the aircraft works, before doing any custom building of your own blueprint or aircraft.
[image]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fuser-images.githubusercontent.com%2f28702753%2f216540562-d75836ac-eb0c-4246-81df-044d2a5e3cc0.png&c=E,1,HjsIvex52ePNfkTWRX_choqOsg1sYWAUiIS5NyQO7qyh6Q641Dfu4n--TjHmlE75e_6o256khoh5cJp6qMpIXdMLpojRFh411DD3MEJiy-ha5_yjflZk&typo=1>
[image]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fuser-images.githubusercontent.com%2f28702753%2f216542343-c2dd546b-702a-409e-9a84-d71174146d69.png&c=E,1,JR7m-cfeMZjyJuLi4pjQALu2rNpUUjxQVCB5rUm-vzAGzhk4LeoDfC0nPvoYRnGiCyL0otB9sAej5ZIQL-VC0ExRw-WjORc32zKF_wK3&typo=1>
—
Reply to this email directly, view it on GitHub<#825 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYV47ONRPHRH3YPR5HNL6DTWVS255ANCNFSM6AAAAAAUPWGJP4>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been able to compile and install the JSBSimforUnReal as a plugin for a UE5.1 project, but when I try to add the JSBSim MovementComponent to the aircraft Blueprint, the system crashes immediately with the following error:
0xC0000005: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Note that I had to compile the release version to get it to load the plugin. UE5.1 won't load the plugin for the debug version of JSBSimforUnReal
Beta Was this translation helpful? Give feedback.
All reactions