• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
koboldlink

Plugins + Scripts koboldlink

Download [<1 MB]
Hello!
I think I finally fixed this issue in the latest version (v18). At least, I tested it for a while, but this issue didn't reoccur. It seems the problem was that I was trying to play audio in an async request handler, which is not a good idea in Unity (nor is invoking atom triggers in those handlers). This could lead to errors such as "mono.dll caused an Access Violation" and "Read from location XXX caused an access violation". Now I moved the audio playback to the Update() function and that helped.
...I'm not sure how optimal this solution is, although. If anyone knows how to threat it in a correct way, I'd be happy to receive advice 😄
dunno why but with this update the ui dosent show up and i get this error
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
!> Exception during LateRestore of plugin#12_KoboldLink.KoboldLink: System.NullReferenceException: Object reference not set to an instance of an object
at KoboldLink.KoboldLink.LateRestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at Atom.LateRestore (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean restoreCore, Boolean isSubSceneRestore, Boolean setMissingToDefault, Boolean isTheSubSceneAtom) [0x00000] in <filename unknown>:0
!> Error during attempt to load assetbundle vecterror.ColorCorrect.1:/Custom/Assets/colorcorrect.assetbundle. Not valid
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
 
dunno why but with this update the ui dosent show up and i get this error
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
!> Exception during LateRestore of plugin#12_KoboldLink.KoboldLink: System.NullReferenceException: Object reference not set to an instance of an object
at KoboldLink.KoboldLink.LateRestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at Atom.LateRestore (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean restoreCore, Boolean isSubSceneRestore, Boolean setMissingToDefault, Boolean isTheSubSceneAtom) [0x00000] in <filename unknown>:0
!> Error during attempt to load assetbundle vecterror.ColorCorrect.1:/Custom/Assets/colorcorrect.assetbundle. Not valid
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
!> Exception during plugin script Init: System.InvalidCastException: Cannot cast from source type to destination type.
at KoboldLink.KoboldLink.AtomNameReplace1 (SimpleJSON.JSONClass json_proc) [0x00000] in <filename unknown>:0
at KoboldLink.KoboldLink.Init () [0x00000] in <filename unknown>:0
at MVRPluginManager.CreateScriptController (.MVRPlugin mvrp, DynamicCSharp.ScriptType type) [0x00000] in <filename unknown>:0
Thank you for testing it.
This initialization error may be due to the plugin attempting to use configuration files remaining from older versions of the plugin, or because other information from older versions of the plugin remains in the scene.
Can you, please, try deleting all files from the [VaM location]/Custom/PluginData/koboldlink folder and restarting the plugin?
You can also try running the plugin in a new scene that did not use previous versions of the plugin.
 
Last edited:
Thank you for testing it.
This initialization error may be due to the plugin attempting to use configuration files remaining from older versions of the plugin, or because other information from older versions of the plugin remains in the scene.
Can you, please, try deleting all files from the [VaM location]/Custom/PluginData/koboldlink folder and restarting the plugin?
You can also try running the plugin in a new scene that did not use previous versions of the plugin.
thank you its working now no problems
 
Back
Top Bottom