Troubleshooting your mesh edits
When you can't import, or your imported mesh looks weird
For a guide on exporting and importing meshes, check WKit Blender Plugin: Import/Export
If you don't know how to begin editing, check Refitting: Mesh sculpting techniques or R&R: Refitting (step by step)
Importing
My import won't show up in-game!
We need to troubleshoot your import.
Does the Wolvenkit preview update?
Yes: The problem is somewhere else, the mesh import works fine.
No: Is there an error message in the console?
Is there an error message in the console?
Yes: Here's where your problem is. Make the error message go away by checking the rest of this guide.
No: Do you have extra shapekeys?
Do you have extra shapekeys?
In Blender, check your shapekey section. It should look like the green box (or be empty).
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FNZiGtXmoBPLaGG2irkGk%252Fmesh_import_export_check_shapekeys.png%3Falt%3Dmedia%26token%3D9ae412ca-2294-4b2d-9e5d-e320e0c4d1c9&width=768&dpr=4&quality=100&sign=73eabd80&sv=1)
If it does not, you need to apply any extra shapekeys, because Wolvenkit will ignore them on reimport. Expand the box below, or check here to find out how.
Tangents
You get an error message like this:
Message: One or more Geometry in provided GLTF doesn't contain Tangents data. Tangents must be included within glTF files.
Use the Cyberpunk Blender IO Plugin to export
Quick, easy, recommended: the plugin will tell you exactly what's broken and how to fix it. Download it here.
Alternatively, you can check by hand:
Bone: neutral_bone not present in export Rig(s)/Import Mesh
The neutral bone is created by the glb export plugin when there are vertex groups without a parent bone. WolvenKit will not let you import if there is a mismatch.
Your armature in Blender needs to have a bone for every vertex group in the submesh, and there must not be vertices with no vertex group assigned.
You then need to import over an already-existing .mesh file which supports all those bones.
The following two scripts help you finding and/or fixing the problem. Switch to the Blender Scripting perspective and create a new, blank text file. Then, toggle the Blender system console to see their output (Blender: Window -> Toggle System Console)
Missing bones
Optional: To find which bones you're missing, you can use this script, which will print their names to console. You can also skip this step and try the troubleshooting below.
Vertices without weights
You can use the Wolvenkit Blender IO Suite's Mesh Tools to Group Ungroup Verts
— if you're lucky, that will solve the problem.
Option 1: Fuck those bones: Python
You can find a Python script on mana's github that will drop unused bones and vertex groups. Run it in Blender's Scripting Perspective with your armature
Option 1: Fuck those bones: Noesis
You can import the mesh with Noesis, which will not do any of these checks. For that, you need to import/export via .fbx.
Since noesis expects differently-named submeshes under the root armature, you'll want to export the mesh via noesis, join your changed meshes on those under Noesis_Root, and import it again. Caution: You'll have to rotate your armature in this case.
While this will get your mesh into the game, the missing bones mean that parts of it won't move the way you expect it!
Option 2: The Netrunner suit
The armature from the following mesh has a lot of bones and will often resolve most of your issues:
Try using the Netrunner body as a base for import. You can use Wolvenkit's #select-base-mesh feature for this.
To create more submeshes, you can either
Try the #preserve-submesh-orderimport setting
create more submeshes with the correct naming in Blender, e.g.
submesh_01_LOD_1
,submesh_02_LOD_1
If you end up with missing bones,
Option 3: Transferring bones
It's time to play 3d puzzle and assemble bones from multiple sources. Unfortunately, there is no simple solution for this yet. You need to
find the bones that your armature is missing in other meshes
transfer them into your import target mesh (guide on xbae's page)
export all the extra meshes into Blender
merge their rigs, which you should do with the linked Python script
and finally reimport everything back into Cyberpunk.
Everything else
WolvenKit will not import a mesh that has any kind of issues. Those include, but are not limited to:
non-flat faces
zero faces/edges
loose vertices/edges
There is no guarantee that any of the steps below will actually solve your problem.
Edit Mode
In Edit Mode, you can find a few commands in the Mesh -> Clean Up menu:
Delete Loose
Split Non-Planar Faces
Split Concave Faces
Merge By Distance
If you select your whole mesh, Merge By Distance will merge the individual parts, obliterating the seams. To avoid that, make sure to do them one after another: - Select a vertex/edge/face in Edit Mode - hold down Ctrl Num+ to select everything connected - use Merge By Distance before proceeding to the next part of your mesh
It's still broken
Your last option is the 3d print tool to (hopefully) find out what is wrong with your mesh.
Fortunately, the tool is free, easy-to-use and already included in your Blender.
If you don't have a 3d print entry in the tools of your 3d viewport, you might need to enable the plugin in Blender's settings first.
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FriAdSPH9Y6DragpUhSy1%252Fblender%25203d%2520print%2520tool.png%3Falt%3Dmedia%26token%3D0a411474-4b01-4cf2-85af-daea8dd489ef&width=768&dpr=4&quality=100&sign=f00cb528&sv=1)
Zero Edges: Those are bad, fix them (click on them, then press X and just delete them)
Non-Flat Faces: Those are even worse, as they can make the game crash. You need to split them up until they are flat, or investigate the surrounding edges/vertices to see what's going wrong here.
Zero Faces: Only fix if you have <100 of them — the tool doesn't always identify them correctly (the mesh analyzed above was
h0_000_pwa_c__basehead
, which is absolutely fine).
In-Game
My mesh won't show up
In Blender
make sure that you have exactly one UV map
check Face Orientation — most materials won't show backfaces (red). You can import submeshes with the suffix
_doubled
to make WolvenKit generate them for you, like it does with hair.
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FmF36mva19d13XB8LKX6O%252Fmesh_troubleshooting_checks.png%3Falt%3Dmedia%26token%3De2b7e43b-f1d7-43ae-9dd4-91fb763ec107&width=768&dpr=4&quality=100&sign=afa16c21&sv=1)
In Wolvenkit
When saving your mesh, check the console for errors. In version >= 8.9.0, a basic material validation is taking place. If you don't see any warnings, make sure that the resource paths in your mesh are correct and that you aren't loading invisible textures.
Parts of my mesh are missing
Do they show up in the Wolvenkit preview?
No: you probably forgot to select them when exporting from Blender. Make sure that you get them all into Wolvenkit.
Yes: There's either an issue with your material assignments or with your chunkmasks. Refer to the corresponding guides to learn how you can debug this.
My mesh won't move at all
Some meshes require an entAnimatedComponent along with the garment's component. Check here for details.
Changes from Blender are missing in-game
For example, you have moved something, but the change doesn't show in the game: this most often happens when you change things around in edit mode, since they are stored as object properties rather than applied immediately.
Select the object in edit mode
Press Ctrl+A
Select "All Transforms" to apply all transformations.
My mesh is moving weirdly
E.g. you've changed a shape, but now everything moves at an offset.
As stated in the importing/exporting guide, it is easy to fuck up the mesh's properties, and this is most likely what happened. The easiest way to "fix" this is to apply your shape deformation to the original object.
Replacing the vertices
Import the original object into Blender, without any of your changes. If you have to, reexport the working file from Wolvenkit.
See #strategy-2-replacing-the-vertices on the Porting 3d objects to Cyberpunk page
My mesh is completely warped
If you have added the item via ArchiveXL or swapped out an in-game item with something that belongs in a different slot (e.g. a jacket on the head slot), you might have to fix the corresponding entity file.
My shadow mesh is always visible
Check the renderMask
attribute inside heder / renderChunkInfos / index
. For shadow meshes, there shouldn't be anything but MCF_RenderInShadows
.
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FA1LI6ao7bgijKLk219TF%252Fshadow_mesh.png%3Falt%3Dmedia%26token%3Dbb84c125-f7f1-4808-9933-19db8ef11a2d&width=768&dpr=4&quality=100&sign=d31fcfb0&sv=1)
My mesh ignores my texture edits!
The textures are most likely embedded. Here's how you can force your material to pull in external textures instead:
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FXPf1YZ8KvNe2mNmdEP8q%252Fmesh_embedded_texture.png%3Falt%3Dmedia%26token%3Dd78546b3-1499-448e-94df-0eb59760768c&width=768&dpr=4&quality=100&sign=3f92d09b&sv=1)
Garment Support
My mesh is string cheese/exploding vertices/a puddle on the floor
This section will tell you how to delete garment support. If you don't want that (you shouldn't! It's cool!), check the next section.
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252F9nzb1w2tNc2QglG1VhCQ%252Fstringcheese1.png%3Falt%3Dmedia%26token%3D1b8e2f79-32c2-482b-a97d-ea9506f2f5f6&width=768&dpr=4&quality=100&sign=48c105c6&sv=1)
To check if it's this, equip only the edited item. If it breaks as soon as you put on another clothing item with garment supports, then the solution below applies.
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FiI1i7ZtePqZuSvoOoCdE%252Fgarment_support_broken.png%3Falt%3Dmedia%26token%3Dd9331cf1-b0f3-47a6-be10-ee6736afd004&width=768&dpr=4&quality=100&sign=3a97132b&sv=1)
Option 1 (likely to work): Import your mesh with garment supports
On the .glb import setting, check the #import-garment-support box.
Option 2 (guaranteed to work): delete GarmentSupport from the mesh
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FxhVYzgCDJeFb2EVCcma1%252Fmesh_editing_parameters.png%3Falt%3Dmedia%26token%3Dd179f79e-94fc-4b36-b027-6f7fa0728261&width=768&dpr=4&quality=100&sign=afee09b2&sv=1)
I'm doing everything right, but garment support still explodes!
Component IDs
Check the component's id in the mesh .ent
or .app
appearance's components
array:
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FedSbm6Y8BtxXkdugMWe7%252Fmesh_troubleshooting_component_ID.png%3Falt%3Dmedia%26token%3Df348b74b-4c31-4132-93d6-378c07dbd065&width=768&dpr=4&quality=100&sign=5c779c64&sv=1)
If any given ID is equipped twice, it can break garment support in the way you're observing.
As of January 03 2023, we don't know how these are generated and can't tech the problem away in Wolvenkit. Your only choice here is to manually randomize your ID in a text editor by switching out single digits. Remember that the resulting ID needs to be an even number!
Import settings
Make sure to import your mesh with garment support enabled. If that doesn't do the trick, you can try re-creating the garment support shapekeys in Blender.
Last updated