Android: Textures no longer loading in 3.10.0
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
Research direction
Start by tracing AndroidBufferImageLoader registration and the General.cfg references to StbImageLoader, using the reported upgrade path to reproduce the missing-loader warnings. Check the Android asset-loading setup and verify that custom PNG and JPG textures load without the application-level workaround.
Written by the indexing model from the issue text.
Description
Issue:
After upgrading android app from 3.9.0-stable to 3.10.0-beta2: custom textures (in png and jpg format) did not load.
AI told me this:
General.cfg now points png/jpg loading at StbImageLoader, which lives in
jme3-plugins (not a dependency of jme3-android, and not Android-viable
anyway), so no loader ends up registered for those extensions. Registered the
existing AndroidBufferImageLoader for png/jpg/jpeg/bmp/gif manually in
simpleInitApp().
The workaround was to call
assetManager.registerLoader(AndroidBufferImageLoader.class, "png", "jpg", "jpeg", "bmp", "gif");
in simpleInitApp()
In the log I note a lot of "Cannot find loader" warnings including this one:
WARNING Cannot find loader com.jme3.texture.plugins.StbImageLoader
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jMonkeyEngine/jmonkeyengine
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jMonkeyEngine/jmonkeyengine#2928 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jMonkeyEngine/jmonkeyengine#2919 · 1 comment ·
Maintainers usually reply within 1 day
-
defect
Difficulty 1/5 Under an hour Newbie friendliness 88/100
jMonkeyEngine/jmonkeyengine#2717 ·
Maintainers usually reply within 1 day
-
Documentation
Difficulty 3/5 1-2 days Newbie friendliness 55/100
jMonkeyEngine/jmonkeyengine#2931 · 1 comment ·
Maintainers usually reply within 1 day
-
Android: Mouse and Keyboard are no longer emulated by default in 3.10.0May be free again @riccardobl claimed this 34 days ago, and no pull request is open. Open
jMonkeyEngine/jmonkeyengine#2929 · 1 comment · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
All issues in jMonkeyEngine/jmonkeyengine
Similar issues
-
type: possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
grimmory-tools/grimmory#2850 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
aoqia194/leaf-loader#19 ·