Troubleshooting
Last updated
Last updated
Vehicles can sometimes bounce on the join of two ground colliders with the default physics settings. Change the āDefault Contact Offsetā in 'Project Setings' -> 'Physics'. It runs great for me with the value set to 0.0001.
As of v1.5 AVC requires a LayerMask to be set for the ground, by default this should be set to āDefaultā. On your vehicle settings check what the āGround Maskā is set as and correct this to what your ground layer is set as.
There can sometimes be a null reference appear in the console, linked to the Vehicle Builder Window, this appears to be a Unity bug and can be ignored. (https://forum.unity.com/threads/assetdatabase-saveassets-is-giving-a-nullreferenceexception.778691/). Closing the Vehicle Builder Window when youāre done with it should stop the error appearing.
This can happen when the pivot of the wheel model isnāt set in the way the AVC is expecting it. Create an empty GameObject, position it in the same place as the wheel, and then place the model as a child of the GameObject ā renaming the new parent as your search term.
If you are correcting an already built vehicle, make sure to assign the new parent object to the correct wheel transform on the VehicleBehaviour component. Use the Wheel Fixer tool to solve this issue.
If the below error is showing in the console, you need to change the projects āScripting Runtime Versionā to ā.NET 4.x Equivalentā. This can be found in Player Settings -> Other Settings -> Configuration.