You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAR creates a new FARSettingsScenarioModule using the constructor. But ScenarioModule derives from MonoBehaviour, which shouldn't exist unless attached to a GameObject.
I think this code is only hit in the incompatible case, which is why it has worked up until now. I also don't think there's any need to manage a ScenarioModule's lifecycle manually - KSP should (at least in theory) take care of all that.
The text was updated successfully, but these errors were encountered:
I believe this code is necessary though, because I remember putting this in to make sure that training missions and scenarios outside of the main save games work properly. I've never seen any errors or exceptions thrown from it either.
Yeah, generally if you try to do that Unity complains loudly. Certainly if you do that in the editor it does! You should add it to the scenariorunner gameobject probably?
Here:
Ferram-Aerospace-Research/FerramAerospaceResearch/FARSettingsScenarioModule.cs
Line 108 in d82a3a4
FAR creates a new
FARSettingsScenarioModule
using the constructor. ButScenarioModule
derives fromMonoBehaviour
, which shouldn't exist unless attached to aGameObject
.I think this code is only hit in the incompatible case, which is why it has worked up until now. I also don't think there's any need to manage a
ScenarioModule
's lifecycle manually - KSP should (at least in theory) take care of all that.The text was updated successfully, but these errors were encountered: