openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Failed assert when passing a string to `startnew(CoroutineFuncUserdata@ func, ref userdata)` when `ref` is expected to be a handle. #547

Closed Mattynator0 closed 1 week ago

Mattynator0 commented 2 weeks ago

image image

Also yes, I later realized that CoroutineFuncUserdataString exists. The bug exists nevertheless.

codecat commented 1 week ago

This reproduction can be simplified to:

void Main() { ref@ a = "a"; }
codecat commented 1 week ago

Reported here: https://www.gamedev.net/forums/topic/717451-failed-assertion-when-assigning-string-to-ref/