Disabled S-Foil Code Creates Errors

Issue #566 resolved
Xwvm Art created an issue

T4M18, sfoil close of gunboats during mission end, disabled gameobjects generates:

Coroutine couldn't be started because the the game object 'XWVM_assault_gunboat_laser_cannon_left_pt' is inactive!
0x00007ff7bc1e58fc (Unity) StackWalker::GetCurrentCallstack
0x00007ff7bc1edf99 (Unity) StackWalker::ShowCallstack
0x00007ff7bd70c34c (Unity) GetStacktrace
0x00007ff7be839d23 (Unity) DebugStringToFile
0x00007ff7bc01e665 (Unity) MonoBehaviour::StartCoroutineManaged2
0x00007ff7bc219694 (Unity) MonoBehaviour_CUSTOM_StartCoroutineManaged2
0x000001db31e656b9 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutineManaged2 (UnityEngine.MonoBehaviour,System.Collections.IEnumerator)
0x000001db31e652e3 (Mono JIT Code) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
0x000001db306dbd63 (Mono JIT Code) [SFoilPivot.cs:188] SFoilPivot:StateTransition (SFoilPivot/SFoilState)
0x000001db306dba1b (Mono JIT Code) [SFoilPivot.cs:83] SFoilPivot:set_State (SFoilPivot/SFoilState)
0x000001db305eca63 (Mono JIT Code) [ShipViewObject.cs:862] ShipViewObject:SetSFoilState (SFoilPivot/SFoilState)
0x000001db29e3348b (Mono JIT Code) [ShipWingStatus.cs:75] Common.ShipWingStatus:AnimateToPosition (Common.WingFlightRegime)

Comments (2)

  1. David Esparza Guerrero

    Merged in feature/Gunboat_Explicit_Reference_Tagged_Parts (pull request #622)

    Disabled parts throw errors when sfoils animate

    • Tagged parts for displaying/hiding based on hardpoint configuration are now explicitly recorded as references at edit time in the prefab, instead of obtained at real-time. Added linting and delinting to tagged parts and sfoil audio origin. Hidden tagged parts now deactivate the entire gameobject instead of only the mesh renderers.

    • Merge branch 'development' into feature/Gunboat_Explicit_Reference_Tagged_Parts

    • Changed HD GUN material and markings assignment so that they make use of the different markings type, materials, and engine colors. Craft that close their sfoils when entering hangars will now do so when they are halfways between the rally point and the hangar interior.

    • Merge branch 'development' into feature/Gunboat_Explicit_Reference_Tagged_Parts

    • Fixed Issue #566

    → <<cset 7aaa97dffeb2>>

  2. Log in to comment