GithubHelp home page GithubHelp logo

Comments (8)

TheBoneJarmer avatar TheBoneJarmer commented on July 17, 2024

That is definitely not good. Could you send the whole stacktrace please?

from tiledcs.

Frankfires avatar Frankfires commented on July 17, 2024

here ya go 👍

TiledCS.TiledException
  HResult=0x80131500
  Message=An error occurred while trying to parse the Tiled map file
  Source=TiledCS
  StackTrace:
   at TiledCS.TiledMap.ParseXml(String xml)
   at Static.Utilities.InGame.Initialize() in C:\Users\me\Desktop\Static\Game\Static\Static\Utilities\Menu.cs:line 49
   at Static.Utilities.Menu..ctor() in C:\Users\me\Desktop\Static\Game\Static\Static\Utilities\Menu.cs:line 19
   at Static.Utilities.InGame..ctor()
   at Static.Static.Initialize() in C:\Users\me\Desktop\Static\Game\Static\Static\Static.cs:line 48
   at Microsoft.Xna.Framework.Game.DoInitialize()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Static.Program.Main() in C:\Users\me\Desktop\Static\Game\Static\Static\Program.cs:line 11

  This exception was originally thrown at this call stack:
    [External Code]

Inner Exception 1:
NullReferenceException: Object reference not set to an instance of an object.

from tiledcs.

TheBoneJarmer avatar TheBoneJarmer commented on July 17, 2024

Thanks! Does the inner exception have a stacktrace by any chance? Because unfortunately this says fuck to me haha

from tiledcs.

pacoo2454 avatar pacoo2454 commented on July 17, 2024

I am getting the same error when I have an object layer in the tilemap.

from tiledcs.

TheBoneJarmer avatar TheBoneJarmer commented on July 17, 2024

Hey @pacoo2454

Thanks for the heads up about the object layer. I didn't had one in my test map anymore so I just added one and it went kaboom for me too. So I patched it up and a new version should be on its way in a couple of minutes. :)

EDIT:
That said, aside of the nullref exception I got with an object layer, everything else works fine for me. So if anyone still encounters an error, please provide me with as much info you can give. Like the full exception or a tmx file if possible.

With kind regards,
TheBoneJarmer

from tiledcs.

Frankfires avatar Frankfires commented on July 17, 2024

I've updated to 3.3.1 things seem to be working flawlessly ( so far ) 👍

from tiledcs.

pacoo2454 avatar pacoo2454 commented on July 17, 2024

No problem. That also fixed it for me too! Thanks for the quick update.

from tiledcs.

TheBoneJarmer avatar TheBoneJarmer commented on July 17, 2024

Awesome! Glad it works for the both of you. :D

from tiledcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.