View Issue Details

IDProjectCategoryView StatusLast Update
0031549RunnerHTML5Public2020-03-26 15:10
ReporterDanAssigned ToLuke Brown 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSWindows 10OS Version1909
Product Version2.2.5 
Target Version2.3.0Fixed in Version2.3.0 
Summary0031549: HTML5: effect_create_...() has a code error "unable to convert rgb(0,0,0) to a number" if using ef_explosion, crashes the game
DescriptionAs you can see from running the attached sample on HTML5, effect_create_...() has a code error "unable to convert rgb(0,0,0) to a number" if using ef_explosion. This causes the game to crash immediately and all you get is a black canvas. All the other particle types are fine.

Checking the dev log shows:

Entering main loop...
testEffectExplosionH…OBBYB=427140384:184 Error: unable to convert rgb(0,0,0) to a number
--------------------------------------------------------------------
    function _jf("unable to convert rgb(0,0,0) to a number")
    function yyGetReal("rgb(0,0,0)")
    function yyGetInt32("rgb(0,0,0)")
    function _bG(0, 512, 284, 5, "rgb(0,0,0)", 1)
    function _602(0, 512, 284, 2, 255)
    function _pH([unknown], 0, 512, 284, 2, 255)
    function _53(0, 512, 284, 2, 255)
    function _y1([instance], [instance])
    function(769, 0, [instance], [instance])
    function(769, 0, [instance], [instance])
    function(769, 0)
    function _8T2()
    function _FS2()
    function _lS2(492.763)
###game_end###-2
Steps To Reproduce1. Run the attached sample for HTML5.
2. Observe the game fails to show anything on-screen and the Console has the errors described.
3. (optional) Remove the objExplosion from the room and run the project again, and observe all works fine now, as per the screenshot.
Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.5.378
2.x Runtime Verified In v23.1.1.111

Activities

Dan

2019-12-24 11:28

Adminstrator  

testEffectAboveBelow.yyz (30,491 bytes)
OthersAreWorking.png (146,934 bytes)
OthersAreWorking.png (146,934 bytes)

Luke Brown

2020-01-07 15:03

Developer   ~0065258

fixed in gitlab

Alice

2020-03-26 15:10

Adminstrator   ~0065537

Verified fixed on IDE v23.1.1.129 Runtime v23.1.1.111. Closing the bug.
Thank you.