void Start() { var markup = Resources.Load <TextAsset> ("quest1").text; // Next 2 methods will throw exceptions on any invalid data at markup, take care on it. _doc = QuestLoader.LoadMarkup(markup); QuestLoader.Validate(_doc); // Parsed document valid, we can start processing it. RenderPage(); }