EDIT: The provided code looks fine so the problem must be elsewhere, can you post your full test-case?.
For texture loading you can use: assetManager.loadTexture("path-to-texture")
instead of manually creating a key previously.
EDIT: The provided code looks fine so the problem must be elsewhere, can you post your full test-case?.
For texture loading you can use: assetManager.loadTexture("path-to-texture")
instead of manually creating a key previously.