dockpanelsuite
dockpanelsuite copied to clipboard
ArgumentException: hrgn
I am creating a plugin for unity 2018 which calls this UI with dockpanelsuite I got the following error when trying to start this
Stack trace:
System.Drawing.Region.FromHrgn (System.IntPtr hrgn) (at <04abc238e1e64b378e01047493bf1e72>:0)
System.Windows.Forms.VisualStyles.VisualStylesNative.UxThemeGetThemeBackgroundRegion (System.IntPtr hTheme, System.Drawing.IDeviceContext dc, System.Int32 iPartId, System.Int32 iStateId, System.Drawing.Rectangle bounds, System.Drawing.Region& result) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetBackgroundRegion (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.ThemeVisualStyles.ManagedWindowGetWindowRegion (System.Windows.Forms.Form form) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.ThemeVisualStyles.ManagedWindowOnSizeInitializedOrChanged (System.Windows.Forms.Form form) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.OnSizeInitializedOrChanged () (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.SetBoundsCoreInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Form.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.SetBoundsInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.SetBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) (at <73410c649db2499885382ad2ba89fba1>:0)
System.Windows.Forms.Control.set_Bounds (System.Drawing.Rectangle value) (at <73410c649db2499885382ad2ba89fba1>:0)
(wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Bounds(System.Drawing.Rectangle)
WeifenLuo.WinFormsUI.Docking.DockPane.SetContentBounds () (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
WeifenLuo.WinFormsUI.Docking.DockPane.OnLayout (System.Windows.Forms.LayoutEventArgs e) (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) (at <73410c649db2499885382ad2ba89fba1>:0)
(wrapper remoting-invoke-with-check) System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control,string)
System.Windows.Forms.Control.set_Visible (System.Boolean value) (at <73410c649db2499885382ad2ba89fba1>:0)
(wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible () (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent (WeifenLuo.WinFormsUI.Docking.IDockContent value) (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate () (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show (WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel, WeifenLuo.WinFormsUI.Docking.DockState dockState) (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
WeifenLuo.WinFormsUI.Docking.DockContent.Show (WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel, WeifenLuo.WinFormsUI.Docking.DockState dockState) (at <73d9a72eaed7456cad5c592ac8f51a6c>:0)
(wrapper remoting-invoke-with-check) WeifenLuo.WinFormsUI.Docking.DockContent.Show(WeifenLuo.WinFormsUI.Docking.DockPanel,WeifenLuo.WinFormsUI.Docking.DockState)
PCRApi.Form.PrincessStudio..ctor () (at <c722e35f9524474eb1635b665f4ea07b>:0)
(wrapper remoting-invoke-with-check) PCRApi.Form.PrincessStudio..ctor()
PCRApi.Form.PrincessStudio.get_Instance () (at <c722e35f9524474eb1635b665f4ea07b>:0)
PCRApi.Program.Main (System.String[] args) (at <c722e35f9524474eb1635b665f4ea07b>:0)
PrincessStudio.PrincessInjector.Awake () (at <c722e35f9524474eb1635b665f4ea07b>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
Cute.PABCCELMCAJ:get_platform()
CriWare:get_streamingAssetsPath()
CriWareInitializer:InitializeAtom(CriAtomConfig)
CriWareInitializer:Initialize()
Cute.Cri.HNKEMEAODEH:Initialize(String)
Cute.Cri.CuteCriInitializer:Awake()