Jump to content

Object of type 'GTANetworkAPI.ColShape' cannot be converted to type 'GTANetworkAPI.NetHandle


Recommended Posts

Posted

Hallo zusammen,

 

ich habe heute mein Projekt (Serverside C#) auf die Version "1.1.0.0" aktualisiert.

Nun habe ich folgendes Problem, dass seitdem Update auf die neue Version kein einziges NetHandle (TextLabel,ColShape,Marker) erstellt werden kann, weil intern in der Bootstrap.dll eine Exception auftritt. Beispielsweise bei dieser Codezeile kriege ich immer die unten gezeigte Exception:

NAPI.ColShape.Create2DColShape(0, 0, 100, 100, 0); 

Exception:

https://ibb.co/YRxDBfR

System.ArgumentException: "Object of type 'GTANetworkAPI.ColShape' cannot be converted to type 'GTANetworkAPI.NetHandle'."

Release Thread:

 

 

Daten zum C# Projekt:

  • NetCore-Version: 3.1.0
  • Bootstrap.dll-Version: 1.1.0.0
  • System.Private.CoreLib.dll (Version: 4.700.19.60701)
  • eingebundene externe Libraries:
    • MySQL.Data.dll (Version: 8.0.20)
    • Newtonsoft.Json.dll (Version: 12.0.3)
  • Sad 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...