View Issue Details

IDProjectCategoryView StatusLast Update
00311712.x IDE BugsCompilingPublic2019-08-19 12:43
ReporterStewart BishopAssigned ToRussell Kay 
PriorityHighSeverityB - MajorReproducibility100%
Status ClosedResolutionFixed 
Product Version2.2.3 
Target Version2.2.4Fixed in Version2.2.4 
Summary0031171: Compiling: Passing a negative number into chr() stops the compiling process with a confusing error
DescriptionPassing a negative number into the chr function will stop your compile with this error:

System.ArgumentOutOfRangeException: A valid UTF32 value is between 0x000000 and 0x10ffff, inclusive, and should not include surrogate codepoint values (0x00d800 ~ 0x00dfff).
Parameter name: utf32
   at System.Char.ConvertFromUtf32(Int32 utf32)
   at GMAssetCompiler.GMLCompile.(GMLToken& )
   at GMAssetCompiler.GMLCompile.(GMLToken& )
   at GMAssetCompiler.GMLCompile.(GMLToken )
   at GMAssetCompiler.GMLCompile.(GMLToken )
   at GMAssetCompiler.WADSaver`1.(GMAssets )
   at GMAssetCompiler.IFFSaver.(GMAssets , String )
   at GMAssetCompiler.Program.(GMAssets )
   at GMAssetCompiler.Program.(String[] )
Steps To Reproduce1) Run the sample
TagsNo tags attached.
2.x IDE Found In
2.x Runtime Found In2.2.3.344
2.x IDE Verified In9.2.1.1945
2.x Runtime Verified In9.9.1.1531


Stewart Bishop

2019-07-15 09:59


ChrTest.yyz (18,705 bytes)

Russell Kay

2019-07-15 12:13

Manager   ~0064422

Fixed in gitlab