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
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:
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