I have an actor that is a child of a master actor. The actor is a chaos vehicle. I have other children in the blueprint family. When I press play and any children of the blueprint are in the level, the engine crashes. The other children in the family do not cause the crash. This is the crash I get:
“you should install debugger symbols for your unreal engine”
It can be done from epic launcher.
Then those crash reports (may) have useful information.
I also asked Yellow Rubber Duck (aka chat GPT) and it gave some suggestions:
The crash you’re encountering is caused by an assertion failure in the SimpleVehicle.h file, which is part of the Chaos Vehicles module in Unreal Engine. The specific assertion is checking whether the Engine.Num() is equal to 1, and it’s failing. Here’s what might be happening:
Potential Causes:
Incorrect Vehicle Setup: The Engine.Num() check is likely looking for a single instance of a vehicle engine, but it’s encountering an unexpected number of engines (either none or more than one). This can happen if you have incorrectly configured the vehicle actor or have more than one engine component attached to your vehicle.
Chaos Vehicles Setup Issue: There may be an issue with how the Chaos Vehicles system is integrated into your project. If the vehicle setup doesn’t adhere to the expected design (e.g., multiple engines on a vehicle or missing components), the assertion will fail.
Custom Modifications or Assets: If you’ve customized the Chaos Vehicles code or assets (such as creating new vehicle classes or modifying components), this could lead to discrepancies in how the Engine.Num() is calculated.
Engine Version Mismatch: If you’re using a custom or modified version of Unreal Engine, it’s possible that there are mismatches in the source code or engine binaries that could cause this assertion to fail.
Corrupt Assets or Data: If there’s a problem with a particular vehicle asset, it might be passing incorrect data to the system, causing this assertion to trigger.
Possible Solutions:
Check Vehicle Setup: Make sure that your vehicle actor has the correct number of engine components (only one) attached and configured in the way that Chaos Vehicles expects.
Debugging: You can add logging or breakpoints before the assertion in SimpleVehicle.h to understand the state of Engine.Num(). This could help pinpoint why the engine count is incorrect.
Reset to Default: If you’ve made any modifications to the vehicle blueprint or class, try reverting to a default setup and see if the problem persists.
Check for Updates: Ensure your version of Unreal Engine and Chaos Vehicles is up to date. There could have been fixes or changes related to this issue in newer versions.
Engine Source: If you’re modifying the engine source (such as Chaos Vehicles code), ensure that it’s aligned with the correct expectations of the engine version you’re using.
Let me know if you need more specific advice based on your setup!
Thats interesting. I didn’t put ‘engine’ and ‘vehicle engine’ together in my head. I assumed it was the Unreal Engine.
I’m not sure what solved it. I added a torque curve since it was missing. and now it works. It could also have been because I tried after a full restart of the PC. Either way, I guess it works.