question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ObjectMap is broken

See original GitHub issue

Issue details

To start: Everything works fine with LibGDX 1.9.10 (just tested) and it worked fine with 1.9.11-SNAPSHOT until a few days ago, this definately is a “new” 1.9.11-SNAPSHOT problem.

My IDE just updated to the latest LibGDX 1.9.11-SNAPSHOT, and now my AssetLoader doesn’t load some assets any more. The tasks are empty, but the asset is nowhere to be found (checked via breakpoint-debugging before unloading the asset, after AssetManager.finishLoading()).

Reproduction steps/code

I would have to upload my whole repo which I don’t want to actually, but I get the problem only with the (new) snapshot, everything worked well a few days ago.

Version of LibGDX and/or relevant dependencies

1.9.11-SNAPSHOT

Stacktrace

My stacktrace will not help but here it is anyway

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Asset not loaded: config/worldMap.data
	at com.badlogic.gdx.assets.AssetManager.unload(AssetManager.java:232)
	at de.creutzenberg.towerdefence.framework.assets.TCAssetManager.unload(TCAssetManager.java:528)
	at de.creutzenberg.towerdefence.framework.Global.initializeAndUnloadGameFiles(Global.java:146)
	at de.creutzenberg.towerdefence.TCGame.initializeAndUnloadBasicStuff(TCGame.java:159)
	at de.creutzenberg.towerdefence.ScreenManager.switchToNextScreen(ScreenManager.java:204)
	at de.creutzenberg.towerdefence.framework.ATCScreen.render(ATCScreen.java:117)
	at de.creutzenberg.towerdefence.TCGame.render(TCGame.java:198)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:233)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)

Please select the affected platforms

Only tested and veryfied on:

  • Windows

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
tommyettingercommented, Mar 3, 2020

Working on it, this seems to be fine with the same fix as LongMap in #5930 . Change LoC for each file are small, hopefully this can be PRed OK.

2reactions
mgsx-devcommented, Mar 3, 2020

it might be the same issue as #5929 FYI there was big changes in libgdx ObjectMap and such recently, some fixes are on the way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Solved] How to fix/repair invalid APFS object map error?
As the APFS object map consists of important file system information, if it is damaged, the macOS fails to recognize the APFS file...
Read more >
Object width subtyping broken on object map values #7649
Width subtyping seems partially broken with object maps. Flow version: 0.97. Try Flow. Works as expected (object): ...
Read more >
APFS Object Map Recovery (free) - matt.sh
Running First Aid on “AppleAPFSMedia” (disk3) Fixing damaged partition map. ... Searching online for recovering from APFS Object map is invalid errors ...
Read more >
Why is my Map broken? - java - Stack Overflow
I want to store the rooms in a Map of some sort by Id (a string). Desired Behavior: When a user makes a...
Read more >
objectmapping to gate broken in 6.1? - MaxMSP Forum
My custom objectmapping file (hh-objectmappings.txt) includes some mappings for the gate object, but they don't appear to work in 6.1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found