Troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
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.