Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  3. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

iOS NotImplementedException: The method or operation is not implemented.

Discussion in '2018.3 Beta' started by Foriero, Dec 3, 2018.

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Hi, we load xml with System.Xml.Serialization.XmlSerializationReader.ReadString but seems like IL2CPP on iOS lost that. Any idea how to fix it? It worked fine in previous Unity versions.

    Thank you, Marek.


    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)




    XML

    UnityEngine.Logger:Log(LogType, Object)

    UnityEngine.Debug:Log(Object)

    NSTestSuiteXML:LoadXML(NSTestSuiteButton)

    UnityEngine.Events.UnityEvent:Invoke()

    UnityEngine.EventSystems.StandaloneInputModule:processTouchPress(PointerEventData, Boolean, Boolean)

    UnityEngine.EventSystems.StandaloneInputModule:processTouchEvents()

    UnityEngine.EventSystems.StandaloneInputModule:process()



    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)



    NotImplementedException: The method or operation is not implemented.

    at System.Xml.Serialization.XmlSerializationReader.ReadString (System.String value, System.Boolean trim) [0x00000] in <00000000000000000000000000000000>:0

    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read7_typedtext (System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0

    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read13_identification (System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0

    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read305_scorepartwise (System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0

    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read325_scorepartwise () [0x00000] in <00000000000000000000000000000000>:0

    at Microsoft.Xml.Serialization.GeneratedAssembly.scorepartwiseSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <00000000000000000000000000000000>:0

    at ForieroEngine.Music.MusicXML.Xsd.MusicXMLExtensions.Load (ForieroEngine.Music.MusicXML.Xsd.scorepartwise spw, System.IO.MemoryStream stream) [0x00000] in <00000000000000000000000000000000>:0

    at ForieroEngine.Music.NotationSystem.Systems.NSRollingLeftRightSystem+ScorePartwise.LoadMusicXML (ForieroEngine.Music.NotationSystem.Systems.NSRollingLeftRightSystem ns, System.Byte[] bytes) [0x00000] in <00000000000000000000000000000000>:0

    at ForieroEngine.Music.NotationSystem.Systems.NSRollingLeftRightSystem.LoadMusicXML (System.Byte[] bytes) [0x00000] in <00000000000000000000000000000000>:0

    at NSTestSuiteXML.LoadXML (NSTestSuiteButton item) [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchPress (UnityEngine.EventSystems.PointerEventData pointerEvent, System.Boolean pressed, System.Boolean released) [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchEvents () [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0

    UnityEngine.Logger:LogException(Exception, Object)

    UnityEngine.Debug:LogException(Exception)

    UnityEngine.EventSystems.StandaloneInputModule:processTouchPress(PointerEventData, Boolean, Boolean)

    UnityEngine.EventSystems.StandaloneInputModule:processTouchEvents()

    UnityEngine.EventSystems.StandaloneInputModule:process()



    (Filename: currently not available on il2cpp Line: -1)
     
  2. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    We use sgen to generate our cached classes. "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\sgen.exe" Can that be possible issue in that? But as I said it worked with NET before. Thank you, Marek.
     
  3. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    This might be a bug on the Unity side. Can you submit a bug report for it?
     
  4. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    I will try to isolate it. Should be relatively easy.
     
  5. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Ok simple enough. 100% reproducibility on iOS. I would also try other platforms just to be sure. But I din't get the case number. Try to search in your database "xgen ios". Marek.
     
  6. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Case 1106236
     
    JoshPeterson and LeonhardP like this.
  7. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Can you guys fix it?
     
  8. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    I'm not sure yet, but we will investigate.
     
  9. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136