[Bug] DrawMarker fails with Unsupported type String
#231
dBozee
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 3 comments 3 replies
3 replies
|
Hey! This issue has been fixed in the latest patch b123 and CitizenFX.FiveM NuGets 0.0.4-alpha. Please try again and let us know if the issue persists. |
0 replies
|
Happening on js runtime in b139 as well with Script error in Native DrawMarker: exception at game RVA 0x1BFDBAB |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
In the .NET10 runtime, calling
Native.DrawMarkerraises the exception:This seems to happen regardless of whether you pass strings or nulls into the
txdNameandtexNameparams.I have not attempted similar natives which take texture params, like DrawSprite, but I imagine it may be similar there.
Similar natives that don't take string args such as
DrawLineorDrawPolydo not have this same issue.EDIT: After further testing this seems to also happen in vMenu's MP ped customization as well as in Lua when handed empty strings.
Please see the comment below for further evidence on these.
Issue type
Client
Repro rate
Always
Server build version
B96
OS
N/A
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
None
OS version / distribution
N/A
CPU
No response
RAM
No response
Using txAdmin?
None
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
ensure testto server.cfgtestmarkernullto passnullsinto the string texture argstestmarkeremptyto passstring.Emptyinto the string texture argsALTERNATIVELY write your own helpers to call
Native.DrawMarkerand observe the same exceptions.Expected Behavior
The client should not except out for passing strings into an arg expecting string/null and draw the marker for the given frame
Actual Behavior
The client excepts when calling
DrawMarkerand nothing is drawn. If done in a loop it excepts on every frame (obviously?).Evidence
Attached example test.zip file.
test.zip
Additional Context
No response
All reactions