Modding:Debugging Content: Difference between revisions

From Vintage Story Wiki
mNo edit summary
mNo edit summary
Line 24: Line 24:
* Check you have added your asset to the correct creative menu.
* Check you have added your asset to the correct creative menu.
** Or, see if the object exists by using ''/giveitem itemcode'' or ''/giveblock blockcode.''
** Or, see if the object exists by using ''/giveitem itemcode'' or ''/giveblock blockcode.''
=== My Block/Item/Entity is not being rendered correctly. ===
* Your texture and shape properties may not be setup correctly.
* The game cannot find the texture or shape specified.
** This could be a domain issue. If you are using a base-game texture from a mod, make sure to prefix the filepath with "''game:''".
=== All in-game textures look messed-up. ===
* This is almost always a corrupted texture-atlas issue.
* Although the issue is supposedly solved from [https://www.vintagestory.at/blog.html/news/v1190-dejank-redux-stable-r374/ v''1.19.0''], this can still sometimes happen due to having a large number of textures.
* It may also be caused by using unsupported graphics cards, potentially those that have a low amount of VRAM.


== Debugging & Logs ==
== Debugging & Logs ==