Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. 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:
    579
    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:
    579
    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,760
    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:
    579
    I will try to isolate it. Should be relatively easy.
     
  5. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    579
    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:
    579
    Case 1106236
     
    JoshPeterson and LeonhardP like this.
  7. Foriero

    Foriero

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

    JoshPeterson

    Unity Technologies

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

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,106