Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.2-pre] ContractConfigurator kills the Addon-wrappers #1849

Closed
GER-Space opened this issue Oct 20, 2016 · 2 comments
Closed

[1.0.2-pre] ContractConfigurator kills the Addon-wrappers #1849

GER-Space opened this issue Oct 20, 2016 · 2 comments
Labels
bug Weird outcome is probably not what the mod programmer expected.

Comments

@GER-Space
Copy link
Contributor

The next release of ContractConfigurator will not play nice with kOS wrapper functions. I got the described errors from the IR-wrapper about every tick.

The needed Change is described here:
blizzy78/ksp_toolbar#39

https://github.com/blizzy78/ksp_toolbar/pull/39/files

The issue first showed up with the toolbar users, but kOS is also affected.

@GER-Space GER-Space changed the title [1.0.2-pre] ContractConfiguator kills the Addon-wrappers [1.0.2-pre] ContractConfigurator kills the Addon-wrappers Oct 20, 2016
@GER-Space
Copy link
Contributor Author

the Error in the log is:

` 10/21/2016 11:44:43 AM,kOS-IRWrapper,Attempting to Grab IR Types...

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

NotSupportedException: The invoked member is not supported in a dynamic module.
at System.Reflection.Emit.AssemblyBuilder.GetExportedTypes () [0x00000] in :0
at kOS.AddOns.InfernalRobotics.IRWrapper+<>c.b__39_0 (.LoadedAssembly a) [0x00000] in :0
at System.Linq.Enumerable+c__Iterator102[AssemblyLoader+LoadedAssembly,System.Type[]].MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator122[System.Type[],System.Type].MoveNext () [0x00000] in :0
at System.Linq.Enumerable.First[Type](IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.FirstOrDefault[Type](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0
at kOS.AddOns.InfernalRobotics.IRWrapper.InitWrapper () [0x00000] in :0
at kOS.AddOns.InfernalRobotics.IRHandler.FixedUpdate () [0x00000] in :0

(Filename: Line: -1)

10/21/2016 11:44:43 AM,kOS-IRWrapper,Attempting to Grab IR Types...

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
`

GER-Space added a commit to GER-Space/KOS that referenced this issue Oct 21, 2016
GER-Space added a commit to GER-Space/KOS that referenced this issue Oct 21, 2016
GER-Space added a commit to GER-Space/KOS that referenced this issue Oct 21, 2016
@hvacengi hvacengi added the bug Weird outcome is probably not what the mod programmer expected. label Oct 24, 2016
@hvacengi
Copy link
Member

Close via #1855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Weird outcome is probably not what the mod programmer expected.
Projects
None yet
Development

No branches or pull requests

2 participants