Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Bug: CScriptArray last item is null for array<Object@> initialized by list initalizer syntax

$
0
0

I'm using AngelScript 2.34.0 and using the included CScriptArray add on class to register the `array<T>` script type with native calling convention on macOS.

I have a class field declared as `array<Object@> @objects = { @Object(…), @Object(…), … }` and initialized with all valid handles, but when querying the array the last element of the array is always a `null` handle.


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>