Jump to content

Packaging Assets Issue


Recommended Posts

For some reason,  for the life of me, I cannot get this to work. When I package the assets, it successfully packs everything into the update folder but for instance if I try to run the client I'm getting this error.

 

2023-04-21 21:24:01.991 [Error] NullReferenceException: Object reference not set to an instance of an object.
    Stack:    at Intersect.Client.Core.Graphics.DrawGameTexture(GameTexture tex, Single x, Single y, GameRenderTexture renderTarget, GameBlendModes blendMode, GameShader shader, Single rotationDegrees, Boolean drawImmediate)
   at Intersect.Client.Core.Graphics.Render(TimeSpan deltaTime)
   at Intersect.Client.MonoGame.IntersectGame.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction)
   at Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown)

Link to comment
Share on other sites

So it seems like its the mouse cursor image in the config thats throwing this issue not sure why as its all packaged together but when I remove the cursor image the game loads fine.

 

Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...