m4v/RCSBuildAid

Scene problem with RCSBuildAid.

zfxstd opened this issue · 2 comments

I tried to make modpack with help of CKAN for my own and found one problem.
After i created game and entered research center, i cant go back. I pressed back button, the bottom menu with icons is apears but nothing else is happening.
In my log i saw following exception;
After i removed mod, everything worked again fine.

I attached also my .ckan modpack WITHOUT RCSBuildAid. The problem version of RCSBuildAid is 1.0.6
ProblemModpack.zip

[ERR 17:41:03.060] Exception handling event onGUIRnDComplexDespawn in class RDSceneSpawner:System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetExportedTypes () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FerramAerospaceResearch.ToolbarTypes+<>c.<getType>b__5_0 (AssemblyLoader+LoadedAssembly a) [0x00006] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () [0x00051] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0004b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at FerramAerospaceResearch.ToolbarTypes.getType (System.String name) [0x00036] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at FerramAerospaceResearch.ToolbarManager.get_Instance () [0x00023] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at FerramAerospaceResearch.ToolbarManager.get_ToolbarAvailable () [0x0000c] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at FerramAerospaceResearch.FARDebugAndSettings.SaveConfigs (ConfigNode node) [0x00020] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at FerramAerospaceResearch.FARSettingsScenarioModule.OnSave (ConfigNode node) [0x0014a] in <21ad72cae05f439aaf4873ff81e9ad5a>:0 
  at ScenarioModule.Save (ConfigNode node) [0x000a6] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at ProtoScenarioModule..ctor (ScenarioModule module) [0x0003c] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at ScenarioRunner.UpdateModules () [0x00055] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at ScenarioRunner.GetUpdatedProtoModules () [0x00005] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at Game.Updated (GameScenes startSceneOverride) [0x000a7] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene) [0x00045] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode) [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at KSP.UI.Screens.RDSceneSpawner.onRDDespawn () [0x0000a] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at EventVoid.Fire () [0x00127] in <cd473063d3a2482f8d93d388d0c95035>:0 

[EXC 17:41:03.064] ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
	System.Reflection.Assembly.GetExportedTypes () (at <9577ac7a62ef43179789031239ba8798>:0)
	FerramAerospaceResearch.ToolbarTypes+<>c.<getType>b__5_0 (AssemblyLoader+LoadedAssembly a) (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
	System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
	FerramAerospaceResearch.ToolbarTypes.getType (System.String name) (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	FerramAerospaceResearch.ToolbarManager.get_Instance () (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	FerramAerospaceResearch.ToolbarManager.get_ToolbarAvailable () (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	FerramAerospaceResearch.FARDebugAndSettings.SaveConfigs (ConfigNode node) (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	FerramAerospaceResearch.FARSettingsScenarioModule.OnSave (ConfigNode node) (at <21ad72cae05f439aaf4873ff81e9ad5a>:0)
	ScenarioModule.Save (ConfigNode node) (at <cd473063d3a2482f8d93d388d0c95035>:0)
	ProtoScenarioModule..ctor (ScenarioModule module) (at <cd473063d3a2482f8d93d388d0c95035>:0)
	ScenarioRunner.UpdateModules () (at <cd473063d3a2482f8d93d388d0c95035>:0)
	ScenarioRunner.GetUpdatedProtoModules () (at <cd473063d3a2482f8d93d388d0c95035>:0)
	Game.Updated (GameScenes startSceneOverride) (at <cd473063d3a2482f8d93d388d0c95035>:0)
	GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene) (at <cd473063d3a2482f8d93d388d0c95035>:0)
	GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode) (at <cd473063d3a2482f8d93d388d0c95035>:0)
	KSP.UI.Screens.RDSceneSpawner.onRDDespawn () (at <cd473063d3a2482f8d93d388d0c95035>:0)
	EventVoid.Fire () (at <cd473063d3a2482f8d93d388d0c95035>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventVoid:Fire()
	KSP.UI.Screens.RDSceneDespawner:BtnExit()
	UnityEngine.EventSystems.EventSystem:Update()
[LOG 17:41:03.064] [ModuleManager] Intercepted a ReflectionTypeLoadException. List of broken DLLs:
RCSBuildAidToolbar 1.0.6.35359 GameData\RCSBuildAid\Plugins\RCSBuildAidToolbar.dll
m4v commented

I have no idea. I'll look when I get the time, you can try deleting RCSBuildAidToolbar.dll and see if it works as a temporal solution, this with disable the Blizzy's toolbar button and use KSP's toolbar.

With deleted RCSBuildAidToolbar.dll its working fine.
The only thing i dont like, is the removing file by hand, because CKAN has strict filesystem control of mods and may break if u try to update mod\remove\etc.
But thanks.