Turret position is incorrect when placing vehicleFixed
im using another plugin https://umod.org/plugins/portable-vehicles
is can make minicopter as a item to put on backpack or boxes
and i put it in a kit that players can redeem a minicopter

after i install this plugin with auto turret
i can spawn it from F1 console
https://imgur.com/a/Vhh1ikG
and if i place it on floor using "portable-vehicles" plugin
the copter is fine, but the turret is broke
https://imgur.com/a/ozNkDZ6

Failed to run a 1.00 timer in 'MiniCopterOptions v1.1.6' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
at UnityEngine.Component.GetComponentInChildren (System.Type t, System.Boolean includeInactive) [0x00001] in <7177b41a033a4f5591f89f18f64d312a>:0
at UnityEngine.Component.GetComponentInChildren[T] () [0x00001] in <7177b41a033a4f5591f89f18f64d312a>:0
at Oxide.Plugins.MiniCopterOptions+<AddTurret>c__AnonStorey0.<>m__0 () [0x00000] in <628306a090e84127a6ef2a7aef477a80>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0​
HI @anthony5301

It doesn't seem like it's attaching the components correctly, is it possible to make a short video with the version just uploaded?
https://youtu.be/AUu57F0CcH4

the error message change to other error, but the position of turret still incorrect

(09:44:17) | Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported since Unity 5.

If you want to use a non-convex mesh either make the Rigidbody kinematic or remove the Rigidbody component. Scene hierarchy path "assets/content/vehicles/minicopter/minicopter.entity.prefab/assets/prefabs/npc/autoturret/autoturret_deployed.prefab/sentry", Mesh asset path "" Mesh name "sentry.base_COL"

Will relase a fix today, just finishing another feature.
Thank you so much
Locked automatically