When you click on the asset you will notice that there is an error message in the status bar. It suggests you go to Utilities | log tabs to learn more about what happened. In the log you learn:
- Code: Select all
Loading proxy file: C:/Users/rbaer/Documents/makehuman/v1py3/data/clothes\Life_Jacket\Life_Jacket.mhpxy.
[b]Loading material from file Life_Jacket_.mhmat
Failed to load material from file Life_Jacket_.mhmat.[/b]
compiled file missing: Life_Jacket_.npz
Problem loading binary mesh: ('compiled file missing: %s', 'Life_Jacket_.npz')
Loading ASCII mesh Life_Jacket_.obj.
Unable to load obj file: Life_Jacket_.obj
Traceback (most recent call last):
File "./core\files3d.py", line 200, in loadMesh
raise RuntimeError('compiled file missing: %s', npzpath)
RuntimeError: ('compiled file missing: %s', 'Life_Jacket_.npz')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./core\files3d.py", line 208, in loadMesh
loadTextMesh(obj, path)
File "./core\files3d.py", line 167, in loadTextMesh
wavefront.loadObjFile(path, obj)
File "./shared\wavefront.py", line 57, in loadObjFile
with open(path, 'r', encoding="utf-8") as objFile:
FileNotFoundError: [Errno 2] No such file or directory: 'Life_Jacket_.obj'
Failed to load Life_Jacket_.obj
Note lines 6 and 7 in the error message. They tell us the file name got spelled wrong somehow.
There is an error in the life_jacket.mchlo file. Go the the assets directory (C:\Users\%USERNAME%\Documents\makehuman\v1py3\data\clothes\Life_Jacket on Windows) and edit the file with a text editor like notepad. The basic info section should have the underscore before the period removed, so it looks like this:
# Basic info:
name Life Jacket
obj_file Life_Jacket.obj
material Life_Jacket.mhmat
Fix it and save. Then your lifejacket should work.