Search Issue Tracker

Duplicate

Votes

0

Found in

2020.2.0a17

Issue ID

1265108

Regression

No

Reordering elements of a list with [SerializeReference] in the UI swaps data but not type

Serialization

-

Context:
I have a script that contains a list of serializable classes following this structure:

[Serializable]
class Test
{
public string name;

public Test()
{
name = "Test";
}
}

[Serializable]
class Test1 : Test
{
public string different1;
public Object sameName;

public Test1()
{
different1 = R.integer.ToString();
name = "Test 1";
}
}

[Serializable]
class Test2 : Test
{
public string different2;
public Object sameName;

public Test2()
{
different2 = R.integer.ToString();
name = "Test 2";
}
}

When the class type Test 1 and Test 2 are created, their name is set to "Test 1" and "Test 2" respectively, also note that the class Test1 has a property "different1" and Test2 has "different2". This means that it is impossible in the UI to have for example Test1 with the property "different 2" and vice versa.

Repro steps:
- Open the repo project
- Open the SampleScene scene
- Select the "List" GameObject, the list should be empty
- Enter in play mode, this will fill the list with random values
- Reorder some element in the list and look at the property name "Different 1" and "Different 2"
- Observe that all the data is moved correctly except the properties Different 1 and Different 2.

What I think is happening:
I think the data of the object is swapped but not its type which explains why the "different 1" and "different 2" properties can't be re-ordered but the rest of the values are re-ordered when we move an element from place x to y.

Alternatively, you can put the script TestList.cs in an already existing unity project to repro

Comments (1)

  1. afronaijaentertainment

    Jul 26, 2020 03:07

    http://petermanchester.me.uk/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://courtprep.ca/includes/asp/redirect.asp?site=https://www.afronaija.com.ng/music/foreign-music/
    http://start.midnitemusic.ch/index.php?url=https://www.afronaija.com.ng/music/foreign-music/
    https://battlegirl-wiki.gamerch.com/gamerch/external_link/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://sports.news.naver.com.ln.is/url/go/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://d-click.anapar.com.br/u/18149/157/612/154_0/89aa7/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.arukikata.co.jp/redirector.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.bausch.in/en-in/redirect/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://iid.myopenlink.net/describe/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.garnettrealestate.com/searchpoint/redir.asp?reg_id=ptypes&sname=/searchpoint/search.asp&lid=0&sponsor=inc&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.st.catherines.org/podium/push/Log.aspx?s=289&snd=fe721683-3ce8-4e7a-ad97-286291577d79&url=https://www.afronaija.com.ng/music/foreign-music/
    http://how-to-learn-any-language.com/redirect.asp?target=https://www.afronaija.com.ng/music/foreign-music/
    http://tutilapok.hu/rd/1/?url=https://www.afronaija.com.ng/music/foreign-music/
    https://sb69.gamerch.com/gamerch/external_link/?url=https://www.afronaija.com.ng/music/foreign-music/
    https://hoshiribe.gamerch.com/gamerch/external_link/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.master.aju.com.br/recursos/redirect.asp?url=https://www.afronaija.com.ng/music/foreign-music/
    https://redwhite.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.petitetits.net/cgi-bin/ucj/c.cgi?url=https://www.afronaija.com.ng/music/foreign-music/
    https://ufacity.info/bitrix/redirect.php?event1=&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    https://www.spiritfanfiction.com/link?l=https://www.afronaija.com.ng/music/foreign-music/
    http://igrotorgi.ru/redir.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://coinpark-portal.info/rank.php?mode=link&id=718&url=https://www.afronaija.com.ng/music/foreign-music/
    https://bshlv.ru:443/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://ssomgmt.ascd.org/profile/createsso/CreateSSO.aspx?returnurl=https://www.afronaija.com.ng/music/foreign-music/
    http://0.7ba.info/out.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.igimu.com/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://models-me.com/cgi-bin/top/out.cgi?ses=3dLvD20Ls1&id=924&url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.chanood.com/go.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://engelcosmetology.kiev.ua/go.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.tstz.com/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.airsofthouse.cz/out.php?link=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://homemarket.ru/bitrix/redirect.php?event1=catalog_out&event2=2Fiblock2F47lb677v_9285.pdf&event3=47lb677v_9285.pdf&goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://lodserver.iula.upf.edu/describe/?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.110school.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://diogenes.ru/bitrix/redirect.php?event1=out&event2=&event3=&goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://irac.pe.ca/redirect.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197//
    http://www.walesonline.co.uk.ln.is/url/go/?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.ship.sh/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.123malayalee.com/redirect.php?link=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.sarl.org.za/redirect.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.fming.cc/home/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.mailstreet.com/redirect.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://brixham.devon-towns.co.uk/link.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.cnccus.org/home/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.geology.com.cn/u/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.breeze-courier.com/Redirect.asp?UID=16022739&SubSectionID=349&LinkID=227&Linkurl=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://hotfares.photonhost.com/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.yxxxxxxy.tuna.be/exlink.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://us.zilok.com/item/redirect/?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://zheleznogorsk.barahla.net/redirect.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    https://www.ligafoto.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://seikeidouga.blog.jp.ridder.co/url/go/?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://w30.bcn.cat/APPS/ofhreghabitatge/Redirect.do?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.seeleben.de/extern/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.xxopen.cn/go.php?u=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.thassos-island.com.gr/redirect.php?id=73&target=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    https://www.infodaymedia.com:443/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://ranking.8ne.jp/18/out.cgi?id=lnl2l2l&url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://aanorthflorida.org/es/redirect.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://4travel.jp/dynamic/redirect_sup.php?ref=/shop/viajestoyo/&url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://mega-studio.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://islulu.com/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.statspro.com/hockey/DOMINATORS/redir.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://d-click.cesa.org.br/u/4762/1839/1078/11584_0/5d8f0/?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.slcmls.com/SearchPoint/redir.asp?reg_id=pTypes&sname=/searchpoint/search.asp&lid=0&sponsor=COM&url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://going1up.com/Redirect.asp?UID=3622430&SubSectionID=-1&HomePageTileAdID=3&Linkurl=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.mtmeru.co.nz/ra.asp?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://e-okinet.biz/rank.php?mode=link&id=1599&url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://thai2plaza.com/go.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/
    http://www.pcinhk.com/discuz/uchome/link.php?url=https://www.afronaija.com.ng/news/regina-daniels-biography-net-worth-fully-updated--n68197/

    http://www.wikidot.com/afterlogin.php?uri=https://www.afronaija.com.ng/music/
    https://sketchfab.com/afronaija
    http://www.wikidot.com/user:info/afronaija
    https://www.redbubble.com/people/afronaija/shop?asc=u
    https://www.coloradoballet.org/Redirect.aspx?destination=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.mygreek.fm/redirect?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    https://redwhite.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://access.lmc.cz/redir.php?IBmark=1316&IBcampaign=1666&url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    https://getpocket.com:443/redirect?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.fleet-service.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.maxraw.com/out.php?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://isg-advisory.com/go.php?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.pageglance.com/external/ext.aspx?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    https://lcu.hlcommission.org/lcu/pages/auth/forgotPassword.aspx?Returnurl=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://uthemes.ru/url/?go=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://schekino.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://avalonadvancedmaterials.com/outurl.php?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.bausch.pk/en/redirect/?url=https://www.afronaija.com.ng/news/peruzzi-huncho-biography-net-worth-fully-updated--n68192/
    http://www.cttpeseux.ch/romands/link.php?url=https://www.afronaija.com.ng/news/
    http://sns.iianews.com/link.php?url=https://www.afronaija.com.ng/news/
    http://www.tracepartsonline.net/(S(qfqtucjmaa3bv0uw4bxsr2mm))/redir.aspx?url=https://www.afronaija.com.ng/news/
    http://www.lizinkom.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/
    http://www.hotelstars.cz/redirect?url=https://www.afronaija.com.ng/news/
    https://mama.jocee.jp/jump/?url=https://www.afronaija.com.ng/news/
    http://ufa.bizfranch.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/news/
    http://facenama.com/redirect.php?url=https://www.afronaija.com.ng/news/
    http://www.coolnri.com/Redirect.aspx?url=https://www.afronaija.com.ng/news/
    http://www.listenyuan.com/home/link.php?url=https://www.afronaija.com.ng/news/
    http://www.unmaskparasites.com/web-page-options/?url=https://www.afronaija.com.ng/news/
    http://bhc-int.sk/redir.asp?WenId=155&WenUrllink=https://www.afronaija.com.ng/music/foreign-music/
    https://news24.easydogs.de/redirect.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://k.yingjiesheng.com/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://new.sexopedia.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://msichat.de/redir.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.ckp-rf.ru/bitrix/redirect.php?event1=news_out&event2=2FiblockBFB58087B5B9+9FA4+BFA4A69F.pdf&goto=https://www.afronaija.com.ng/music/foreign-music/
    http://xn--80aa0acpbeafibedgmt9l.su/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.mailstreet.com/redirect.asp?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.memememo.com/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://shodoschool-portal.info/rank.php?mode=link&id=1512&url=https://www.afronaija.com.ng/music/foreign-music/
    http://sutemos.wip.lt/redirect.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.inforing.net/bitrix/redirect.php?event1=&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.windsorhillsrent.com/cgi-bin/out.cgi?ses=I8dOACDFG5&id=1399&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.villacapriani.com/Redirect.aspx?destination=https://www.afronaija.com.ng/music/foreign-music/
    http://www.techportal.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.raypoppe.com/searchpoint/redir.asp?reg_id=ptypes&sname=/searchpoint/search.asp&lid=1&sponsor=com&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.cheungchauconductor.org/html_pl/index.php?go=https://www.afronaija.com.ng/music/foreign-music/
    https://fitclub.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    https://dq-msl.gamerch.com/gamerch/external_link/?url=https://www.afronaija.com.ng/music/foreign-music/
    https://www.coloringcrew.com/iphone-ipad/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.bea-rossrealty.org/searchpoint/redir.asp?reg_id=ptypes&sname=/searchpoint/search.asp&lid=1&sponsor=res&url=https://www.afronaija.com.ng/music/foreign-music/
    http://go.iranscript.ir/index.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://valekse.ru/redirect?url=https://www.afronaija.com.ng/music/foreign-music/
    http://baranpatogh.ir/go/index.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.mytyper.ru/go.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://sports.indiaeveryday.com/Redirect.aspx?url=https://www.afronaija.com.ng/music/foreign-music/
    https://thequestion.ru/out/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://vport.biz/redirect?url=https://www.afronaija.com.ng/music/foreign-music/
    https://www.vinteger.com/scripts/redirect.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://go.parvanweb.ir/index.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://popnet.ru/go/go.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://hhn.jp/rank.php?mode=link&id=741&url=https://www.afronaija.com.ng/music/foreign-music/
    http://englandlux.ru/bitrix/redirect.php?event1=1&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    https://m.forum.gamexp.ru/externalredirect.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://d-click.vxcontact.com/u/2012/508/68946/1671_0/3626c/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.runet-party.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    https://upma.upturnhost.com/Registration/Register.aspx?Returnurl=https://www.afronaija.com.ng/music/foreign-music/
    http://pugofka.com/bitrix/redirect.php?event1=download_presentation&event2=main_page&goto=https://www.afronaija.com.ng/music/foreign-music/
    https://www.poringa.net/?go=https://www.afronaija.com.ng/music/foreign-music/
    http://rd.fresheye.com/svc/y_jdb/?go=https://www.afronaija.com.ng/music/foreign-music/
    http://www.fanjunsky.com/urlredirect.php?go=https://www.afronaija.com.ng/music/foreign-music/
    http://www.raypoppe.com/searchpoint/redir.asp?reg_id=ptypes&sname=/searchpoint/search.asp&lid=1&sponsor=com&url=https://www.afronaija.com.ng/music/foreign-music/
    http://set.ua/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://jay-webmarketing.com.ln.is/url/go/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.sa-live.com/merror.html?errortype=1&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.mazda-avtomir.kz/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    https://galter.northwestern.edu/exit?url=https://www.afronaija.com.ng/music/foreign-music/
    http://freeware32.ru/go.php?url=https://www.afronaija.com.ng/music/foreign-music/
    https://ogs.vfao.com/login.aspx?Returnurl=https://www.afronaija.com.ng/music/foreign-music/
    http://www.69flv.com/cm/out.php?id=1435795&url=https://www.afronaija.com.ng/music/foreign-music/
    http://bladeist.ru/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.propertiesbynancy.com/searchpoint/redir.asp?reg_id=ptypes&sname=/searchpoint/search.asp&lid=1&sponsor=bus&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.masterservice.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.battlesussex.co.uk/link.asp?url=https://www.afronaija.com.ng/music/foreign-music/
    http://home.101ko.com/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://audioworld.com/cgi-bin/FrameIt.cgi?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.sexopedia.ru/bitrix/rk.php?goto=https://www.afronaija.com.ng/music/foreign-music/
    http://webmail.coqui.net/horde/services/go.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://valekse.ru/redirect?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.tetsunet.net/system/rank.php?mode=link&id=538&url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.cheungchauconductor.org/html_pl/index.php?go=https://www.afronaija.com.ng/music/foreign-music/
    http://iurii.com/go.php?go=https://www.afronaija.com.ng/music/foreign-music/
    http://neurostar.com/en/redirect.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://www.photos.newocx.com/index.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://webmail.digipen.edu/horde/services/go.php?url=https://www.afronaija.com.ng/music/foreign-music/
    http://ucco.com.ua/bitrix/redirect.php?event1=upec&event2=&event3=&goto=https://www.afronaija.com.ng/music/foreign-music/
    http://www.nilaima.com/link.php?url=https://www.afronaija.com.ng/music/foreign-music/
    https://mama.jocee.jp/jump/?url=https://www.afronaija.com.ng/music/foreign-music/
    http://monitor.zone-game.info/?url=https://www.afronaija.com.ng/music/foreign-music/

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.