Advertisement
acegiak

Untitled

Nov 17th, 2022
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.73 KB | None | 0 0
  1.             string aboutboon = "";
  2.             StringName aboutwhat = new StringName("AboutWhat");
  3.             if(call.HasMethod(aboutwhat)){
  4.                 aboutboon = ","+((string)(call.Call(aboutwhat)));
  5.             }
  6.  
  7.  
  8. E 0:00:31:0146   void Godot.DelegateUtils.InvokeWithVariantArgs(IntPtr , System.Void* , Godot.NativeInterop.godot_variant** , Int32 , Godot.NativeInterop.godot_variant* ): System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'byteCount')
  9.   <C++ Error>    Exception
  10.   <C++ Source>   :0 @ System.String System.Text.Encoding.GetString(System.Byte* , Int32 )()
  11.   <Stack Trace>  :0 @ System.String System.Text.Encoding.GetString(System.Byte* , Int32 )()
  12.                  Marshaling.cs:714 @ System.String Godot.NativeInterop.Marshaling.ConvertStringToManaged(Godot.NativeInterop.godot_string& )()
  13.                  VariantUtils.cs:448 @ System.String Godot.NativeInterop.VariantUtils.ConvertToStringObject(Godot.NativeInterop.godot_variant& )()
  14.                  Variant.cs:173 @ System.String Godot.Variant.AsString()()
  15.                  Variant.cs:371 @ System.String Godot.Variant.op_Explicit(Godot.Variant )()
  16.                  UI.cs:280 @ void UI.RollReady(System.String , System.String , System.String , Godot.Object , System.String , System.String , System.String , System.String , Int32 )()
  17.                  UI.cs:185 @ void UI+<>c__DisplayClass18_0.<ShowTest>b__0()()
  18.                  Callable.generics.cs:39 @ void Godot.Callable.<From>g__Trampoline|1_0(System.Object , Godot.NativeInterop.NativeVariantPtrArgs , Godot.NativeInterop.godot_variant& )()
  19.                  DelegateUtils.cs:47 @ void Godot.DelegateUtils.InvokeWithVariantArgs(IntPtr , System.Void* , Godot.NativeInterop.godot_variant** , Int32 , Godot.NativeInterop.godot_variant* )()
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement