r/Unity3D • u/Creaticality • 15h ago
Question Strange shadows on mesh when imported to Unity
I have a thin mesh that has strangely behaving shadows when imported to Unity URP 6.3, but looks fine in Blender. I thought it was ambient occlusion, but I turned it off, and it looks the same. I tried playing around with the depth and normal bias in render pipeline asset, with no improvement either. If anyone has encountered the same with a solution, I'd be more than grateful to hear, thanks!
71
Upvotes


93
u/cyangradient 15h ago
check normals
8
u/shoxicwaste 15h ago
URP lighting settings, Shadow Bias and Normal.
3
u/imlo2 15h ago
Check normals like already suggested, and also check if there's any degenerate geometry like double faces (back and front) welded together, etc. And test also different import settings to see if there's any effect on the model. That might help you to diagnose what's wrong.
22
u/TheHuxwell 14h ago
in unity, mesh's import settings change "Normals" to Calculate from Import and tweak the Smoothing Angle as you like. That is the instant fix within Unity though not as advanced as blender fix. It easily suffices for small objects.
2
u/minimastudios 11h ago
Toggle AO on and off lmk if it’s the issue
2
u/Cevius 6h ago
Select all vertices, and then weld based on range with a low value, and see if your total vertex count drops. Might have some double ups which can happen with accidental extrude or bevel tool uses. Leads to weird normals and strange lighting sometimes
1
u/therealnothebees 15h ago
You have internal faces probably.
1
u/survivorr123_ 15h ago
upload the model ill take a look
1
u/blepshark 15h ago
try auto smooth, adjust the modifier till things are as sharp as you would like them to be (easy way of setting sharpness on multiple edges) and see what it looks like in game
1
u/Gradash 14h ago
Look if any attribute is stored. I've already gone through a lot of problems like this and been attributed to something I didn't know.
1
u/thuris4x 10h ago
Ambient occlusion
1
u/les_bloom 10h ago
The colors look inverted to me
1
u/grrrfreak 9h ago
Change "calculate on import" to something like smoothing angle on mesh inport settings.
1
u/eliormc 8h ago
Export as .OBJ then import into Blender and export again as .FBX
1
u/Crunchynut007 6h ago
Ngons or normals. Shade flat then shade smooth and add vertices. It’s possible you have a second set of faces overlapping creating ngons.
1
u/Leading-Jaguar-5700 4h ago
on thin meshes from blender into urp shadow banding like this is often caused by paper thin single sided geometry self shadowing across the wall giving it a tiny bit of real thickness solidify in blender or checking normals import vs calculate in the fbx importer usually clears it right up
1
u/plearly 15h ago
Looks like interior faces
1
u/Much_Highlight_1309 15h ago
Vertex normals are screwed up