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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

XML problem

Discussion in 'Scripting' started by rhyvon, Apr 15, 2015.

  1. rhyvon

    rhyvon

    Joined:
    Dec 9, 2014
    Posts:
    4
    Currently i'm working on a game where i have to get some data from an XML file (questions, answers etc.)
    I got the code working fine (was getting data from XML etc.), but all of a sudden it's trowing errors o_O

    Code (JavaScript):
    1. BCE0018: The name 'XmlNode' does not denote a valid type ('not found').
    2.  
    3. BCE0018: The name 'XmlDocument' does not denote a valid type ('not found').
    I have really no clue what happend or why it doesn't work anymore.
    Also use:

    Code (JavaScript):
    1. import System.Xml;
    I just don't know where to look, because i didn't change anything...
    Can someone please help me, thanks!!
     
  2. rhyvon

    rhyvon

    Joined:
    Dec 9, 2014
    Posts:
    4
    Fixed it, well Unity fixed it by himself :S Opened up the project a day later and everything worked like it did before! Strange but nice :)