Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.2, 2019.3

Votes

24

Found in

2018.4.8f1

2019.2.6f1

2019.3.0b4

2020.1.0a5

Issue ID

1186125

Regression

Yes

[IL2CPP] Double and float number values are different when uint is casted on them

IL2CPP

-

How to reproduce:
1. Open attached project ("Broken_il2cpp.zip")
2. Open Build Settings window (File->Build Settings...)
3. Open Player Settings window (bottom left button in Build Settings window)
4. In Player Settings window select IL2CPP scripting backend
5. In Build Settings click Build And Run

Expected result: In-game printed double and float values before and after the cast are the same
Actual result: In-game printed double and float values before and after the cast are different

Reproducible with: 2018.4.10f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a7
Not reproducible with: 2017.4.32f1, 2018.4.7f1, 2019.2.5f1, 2019.3.0b3, 2020.1.0a4

Comments (2)

  1. Eb2be104bb042b0bd83d309c4bb3b7c6?d=mm

    rochbordan11

    Jul 04, 2020 11:12

    http://www.in-cubator.org/members/solarsystem/profile/
    http://fanfic.castletv.net/viewuser.php?uid=13686
    https://git.hacksaar.de/solarsystem
    http://forum.zidoo.tv/index.php?members/solar-system.53378/
    http://www.epicwords.com/users/15713
    https://forums.bagisto.com/user/solarsystem
    http://www.good-tutorials.com/users/solarsystem
    https://www.max2play.com/en/forums/users/solarsystem/
    https://gitlab.jetshop.se/solarsystem
    https://git.goteo.org/solarsystem
    http://xenodream.com/forum/member.php?action=profile&uid=16284
    https://www.korfball.com/forums/pop_profile.asp?mode=display&id=3477
    https://git.hacklab.com.br/solarsystem
    http://solarsystem.brandyourself.com/
    http://www.subzerotyler.com/UserProfile/tabid/61/userId/381401/Default.aspx
    https://www.quia.com/profiles/s280system
    https://www.ohmstudio.com/users/solarsystem
    http://forums.qrecall.com/user/editDone/82929.page
    https://www.giveffect.com/users/447338-solarsystem
    http://wiznotes.com/UserProfile/tabid/84/userId/484859/Default.aspx
    https://forwhiskeylovers.com/users/solarsystem
    https://solarsystem525.dreamwidth.org/profile
    https://www.atlasobscura.com/users/solarsystem
    https://www.feedsfloor.com/profile/solarsystem
    https://www.ultimate-guitar.com/u/futuresolarwa123
    https://crooksandliars.com/user/solarsystem
    https://knowyourmeme.com/users/solar-system
    https://postad.com.au/listing/new-south-wales/brewarrina-240/motorcycle-accessories/solar-panel-prices
    https://build.com.au/future-solar-wa-solar-power-systems-installation-repair
    http://forum.fefcholden.club/index.php?action=profile;u=8890;sa=summary
    http://www.spyderryders.net.au/forum/index.php?action=profile;area=summary;u=812
    https://venueinsider.com.au/member/photovoltaic/
    https://www.adsct.com.au/ad/show/1107854
    https://www.eventfinda.com.au/user/mhenry5961
    https://www.baalai.com.au/future-solar-wa-solar-power-systems-installation-repair/south-yarra-3141-vic/miscellaneous-goods/ad/6099571289
    https://www.omsearch.com.au/listing/storage/solar-photovoltaic-system
    https://support.tradesassist.com.au/hc/en-us/articles/360002430110?page=1
    https://support.worldsmart.com.au/hc/en-us/community/posts/360047978573-solar-panel-prices-australia
    http://www.chambers.com.au/forum/view_post.php?frm=1&pstid=5534&pstcl=0&kwd=&page_rtn=0
    http://www.goldenlife.com.au/blog/p-0_112_0_0_64881/p.html
    http://www.ausband.com.au/modules.php?name=Forums&file=profile&mode=viewprofile&u=388472
    http://www.ratebe.com.au/space/solarpanel22
    https://www.adsl2exchanges.com.au/forums.php?thread=22831&page=1
    https://searchnearby.com.au/listing/state-of-western-australia/beverley/financial/future-solar-wa-solar-power-systems-in
    https://tradeadvisoraus.com.au/listing/future-solar-wa-solar-power-systems-installation-repair/
    https://research.csiro.au/spark/forums/users/bestsolarinverters/
    https://www.avstralia.com.au/directory/listing/future-solar-wa-solar-power-systems-installation-repair-1
    https://clinicaltrialsalliance.org.au/forums/users/photovoltaicpanels/
    https://data-portal.hpc.swin.edu.au/user/pvsolarpanels
    https://catalogue.data.wa.gov.au/user/solarpanelpricesaustralia
    https://frogwatchsa.com.au/user-profile/2134-pvpanels
    https://www.skilledtradies.com.au/wwwfuturesolarwacomau-5425.html
    http://www.openstores.com.au/s/5690/Solar_System.html
    https://www.ebay.com.au/usr/bestsolaraust_0
    https://activepages.com.au/profile/pvinstallation
    https://www.ozbargain.com.au/user/355010
    https://dailygiggrind.com.au/user/Mark_Henry/
    https://qa.commongoodmedia.com.au/solarcost
    http://barkerark.com.au/ActivityFeed/MyProfile/tabid/57/UserId/1002619/Default.aspx
    http://forum.familylawexpress.com.au/User-solarcost
    http://mercedesforums.com.au/user-2940.html
    https://propterest.com.au/user/1715/solarcost
    https://support.movus.com.au/hc/en-us/community/posts/360006453935-If-you-are-searching-for-the-best-option-for-electricity-needs-for-residential-and-commercial
    https://www.reborndolls.com.au/User-solarcost
    http://www.intosydneydirectory.com.au/details.php?lid=10666
    http://www.churchsearch.com.au/index.php?option=com_kunena&Itemid=64&func=view&catid=9&id=30
    http://www.kilp.com.au/places/australia/wa/baldivis/industrial/future-solar-wa-solar-power-systems-installation-repair/
    https://rankmyelectrician.com.au/?post_type=listing&p=3184
    https://bribiebusinessdirectory.com.au/listing/perth/solar/future-solar-wa-solar-power-systems-installation-repair/
    https://heidelberg-it.com.au/index.php/forum/welcome-mat/16020-it-is-true-solar-energy-is-the-best-for-electricty
    https://ozbizsearch.com.au/listings/other-business-information/future-solar-wa-solar-power-systems-installation-repair
    https://crockor.com.au/services/other-services/future-solar-wa-solar-power-systems-installation-repair_i142451
    http://www.nissanpatrol.com.au/forums/member.php?91033-solarcost
    http://vrc.org.au/forums/users/solarcost
    http://www.aussienzgg.com.au/forums/member.php?action=profile&uid=2768
    http://www.buga.com.au/index.php?action=profile;u=10834
    https://www.positionpartners.com.au/community/profile/solarocst/
    https://www.positionpartners.com.au/community/profile/solarocst/
    https://fpdn.org.au/forums-home/profile/solarcost/
    http://www.ausad.com.au/user/solarcost
    https://www.colourinyourlife.com.au/members/solarcost/profile/
    https://blackwitchcoven.com.au/lp-profile/solarinstallation/
    https://www.neurotherapy.com.au/forum/forums/users/solarinstallation/
    https://www.saleschamp.com.au/forums/users/solarinstallation/
    https://www.harc.com.au/forums/users/solarinstallation/
    https://www.dadsonline.com.au/forums/users/solarpanelcost/
    https://ismschools.com.au/forums/users/solarinstallation/
    https://www.pkuconnect.com.au/forums/users/solarinstallation/
    https://community.tpg.com.au/t5/Welcome/is-future-solar-is-useful-for-electricity/m-p/72009
    https://community.boost.com.au/t5/user/viewprofilepage/user-id/34300
    https://www.australianfrequentflyer.com.au/community/members/solarpanelcost.79020/
    https://thefoldsouthernhighlands.com.au/profile/solar-panel-5ef07aa4530d1/
    http://renovatesmart.com.au/profile/solar-panel-cost/
    https://community.pexa.com.au/t5/Ask-the-PEXA-Community/We-are-the-best-solar-panel-providers-in-Australia/m-p/20183
    https://www.amazon.com.au/gp/profile/amzn1.account.AEPTBYGFKDDZMNOMR6IK645RYZEA?preview=true&ref=uepas
    https://community.agl.com.au/t5/General/Are-you-worried-about-more-electricity-bill/m-p/19685
    https://www.stereo.net.au/forums/profile/282434-solarinstallation/?tab=field_core_pfield_12
    https://forums.kleientertainment.com/profile/1296045-skincare796/?tab=field_core_pfield_16
    http://www.musicrush.com/skincare796/action
    https://hearthis.at/skin-care/
    https://sysprogs.com/w/forums/users/skincare796
    https://forums.databricks.com/users/44563/skin-care.html
    https://www.fairvote.ca/forums/users/skincare796/
    https://changeagent.bkconnection.com/users/skincareisjxt
    https://www.siasat.pk/forums/members/skincare796.216156/
    https://community.tubebuddy.com/index.php?members/38457/
    http://faceappforum.bellus3d.com/profile/386/skin-care-pro
    https://www.ocpsoft.org/support/users/skincare796
    https://payhip.com/skincarepro
    https://bookme.name/skincare796
    https://www.goldposter.com/members/skincare796/profile/
    https://rust-servers.net/profile/skincare796/
    https://omastadi.hel.fi/profiles/Skincare/following?locale=en
    https://owa.uservoice.com/users/999493306-skin-care
    http://forum.abantecart.com/index.php?action=profile;area=summary;u=40975
    https://www.analyticsinsight.net/members/skincare796/
    https://alzinfo.org/alztalk/members/skincare796/
    https://git.nomics.world/skincare796
    http://www.fuelly.com/driver/skincare796
    https://www.49erswebzone.com/forum/profile/skincare796/section-feed/
    https://www.seotoaster.com/questions-and-answers/user/skincare796
    https://bordeaux.onvasortir.com/profil_read.php?Skincare796
    https://community.mongoose-os.com/u/Skin_care/summary
    http://www.pianosociety.com/members/skincare-pro.8917/
    http://dev4.distributel.ca/profile/skincare796
    http://forums.defiance.com/member.php?58181059-skincare796
    https://rapidapi.com/user/skincare796
    http://www.maprecord.com/forum/member.php?action=profile&uid=

  2. 0df10476daea08b2c99b391e32144b7b?d=mm

    milan_Inzaghi

    Oct 23, 2019 03:31

    double L_4 = LuaDLL_luaL_checknumber_mE19A440F705FB6F77196235AF50F9D9CCD7F0E7D((intptr_t)L_3, 2, /*hidden argument*/NULL);

    V_1 = (((int32_t)((uint32_t)(int32_t)L_4)));

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.