Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request attempts to make the necessary changes for running the project in Unreal Engine 5.3. The initial motivation came from the discussion in another PR and in the Airsim project here due to experiencing the same error.
Switching to UE5.3 doesn't seem to fix this though. Even after modifying the code to obey the new UE5.3 rules, it prints the following build log including the exact same error as before:
Opening the project in UE5.3 is as such currently at least from my Linux machine not possible so it couldn't be tested; it is expected to not work as is, but maybe serve as a base to do the last few changes necessary so this PR is currently marked as a draft.
Also, I'm completely new to UE and 3D programming so make sure to check my changes twice :). The most interesting part is the
CarPawnSimApi.cpp
where indeed the logic needed to be changed due to UE's switch from PhysX to Chaos.In all changes I mainly tried to find the corresponding "new" UE5 function and replace with it; the compiler not crying anymore doesn't mean it actually works though.
EDIT: Most of the changes were taken from here and adjusted as needed.