View Issue Details

IDProjectCategoryView StatusLast Update
0029853RunnerFunctionsPublic2019-01-04 16:24
ReporterStewart BishopAssigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSOS Version
Product Version2.1.5 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029853: Functions: Random seed is different if you restart your game after a room change has occurred
DescriptionIf you set the random seed to a fixed seed then use some random functions they'll return a fixed set of results each time however if you do this on the second room in your game after a room restart then your seed will change eg:

In the sample project supplied if you click on the white square it will go: 1896 > 2852 > 1056 but if you restart the game then it will go: 336 > 1631 > 2447
Steps To Reproduce1) Run the sample
2) Click the square three times
3) Press R
4) Click the square three times again
5) See that the pattern has changed even though your seed hasn't
Tags1_4_final, Runner
1.4 Found In
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.1.268


Stewart Bishop

2018-08-02 12:16


RandomSeed.yyz (24,422 bytes)


2018-08-13 13:44

Adminstrator   ~0061203

Fix is now in 1.4.9999.

Stewart Bishop

2018-10-15 15:16

Developer   ~0061761

Reopening as this still happens.

Mike Dailly

2018-10-24 13:57

Developer   ~0061843

re-fixed on green. Fix appears to have been lost in a merge, so has been reinstated.