[VST] AutopilotActivate function throws Assembly Not Referenced error

Klime shared this bug 2 years ago
In Progress

Issue: Using the AutopilotActivate function in the Visual Scripting Tool throws an error when attempting to build the script.


Expected Result: AutopilotActivate builds normally


Actual Result: AutopilotActivate throws the following error when building a script with that node:

error CS0012: The type 'FlightMode' is defined in an asembly that is not referenced. You must add a reference to assembly 'Sandbox.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.


Steps to Reproduce:

1) Launch the Visual Scripting Tool

2) Create a New script. Give it a name (HelloWorld)

3) In the Scenario Explorer, open Mission Script : Mission01_MS

4) Right click -> Function -> AutopilotActivate

5) Attach the function to a Method, for example the StartStateMachine

6) Put an test name in to the entityName section of AutopilotActivate (eg, "test")

7) Attempt to Build Script


Technical information:

MyDependencyCollector#CollectReferences needs to run recursively over current assembly dependencies and dependencies of dependencies.

Comments (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department