jMonkeyEngine / jMonkeyEngine/sdk
Trying to change a texture in a Material when the reference is missing causes an exception.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 348
- Forks
- 104
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 3
Description
com.jme3.asset.AssetNotFoundException: Textures/the_missing_texture.png (Flipped) (Mipmapped)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:387)
at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:409)
at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:421)
at com.jme3.gde.core.properties.TexturePropertyEditor.getValue(TexturePropertyEditor.java:89)
This can for example happen if you copy materials from one project to another.
Expected behavior: Ignore the missing texture and show the selector.
Work around: Use the 'source' window and edit it manually.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in com.jme3.gde.core.properties.TexturePropertyEditor.java at getValue (line 89), following the asset-loading stack shown in the report. Reproduce the case by changing a material whose texture reference is missing. Done means the missing texture is ignored and the selector is displayed instead of an exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100