Blender

Blender

MysterK Aug 13, 2021 @ 6:32pm
Trying to Export a 2d drawn Sprite into Unity
ive made a 2d model for a basic "snake" game in blender to learn the ins and outs of game development. but every time i try exporting it into unity there is no image, its just blank but with a camera. i did make sure to have the right objects selected, even tried removing camera. is there anything i need to do before i try exporting it?

i used a drawing tablet to create a simple snake head and body. finished it and lock the layers. then try exporting directly into my unity snake game project asset folder.
am i missing something?
< >
Showing 1-10 of 10 comments
I have no clue how to use Unity, but I suspect that you will have to assign your 2D texture image that you drawn, in Unity to the exported object. I guess Blender does export the Plane geometry but you might still have to link/ import your texture unless it also exports some material file with textures and shader settings..
Unfortunately this is just a guess :D
xfx_wd Aug 13, 2021 @ 10:32pm 
Don't you need to drug your model from the asset folder to project hierarchy ? Then it will appear in the scene.
MysterK Aug 13, 2021 @ 10:46pm 
i have, ive also tried attaching it onto a 2d object in unity, the export shows up in unity but its like the drawing itself doesn't export over, no lines or color.
MysterK Aug 13, 2021 @ 10:49pm 
it may be something simple im over looking, but i havent been able to find the answer anywhere.

what are the steps one would take once they draw and color a 2d model and want to export it anywhere.
The Renderer Aug 13, 2021 @ 10:49pm 
How exactly did you make a "2D model"? Grease Pencil? Plane with a texture, ...?
And how exactly did you export it?
xfx_wd Aug 13, 2021 @ 10:56pm 
2D objects in unity are UI elements. If you just export image file(texture), then select it asset folder then change in the inspector to texture Type -> Sprite(2D and UI)
MysterK Aug 13, 2021 @ 11:43pm 
Originally posted by xfx_wd:
2D objects in unity are UI elements. If you just export image file(texture), then select it asset folder then change in the inspector to texture Type -> Sprite(2D and UI)

thank you very much xfx_wd. once i made it an image after rendering then made it transparent and attached it to a sprite it was exactly what i needed! thank you everyone else who helped!

once again the steam community helping solve my headaches!
Last edited by MysterK; Aug 13, 2021 @ 11:49pm
xfx_wd Aug 14, 2021 @ 12:22am 
You are welcome MysterK. Hope you will do great in your game development journey.
MysterK Aug 14, 2021 @ 12:31am 
thank you so much again! im trying to learn every aspect of game development rather than just coding or animation. i found a guide to help learn coding with a basic snake game, so instead of importing free ones, i though i would make my own. now thanks to you i can set up my snake sprite finally!
ive been a gamer for 22 years so i have all sorts of ideas ive thought about
Last edited by MysterK; Aug 14, 2021 @ 12:32am
MysterK Aug 14, 2021 @ 12:34am 
i also realized when i took a break with trying to figure it out that i may have been able to use that drawing as a base for a 3d model and import that into my 2d game. i believe it would have worked (although much more work for a test game). and i know i dont have issued importing 3d models
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Aug 13, 2021 @ 6:32pm
Posts: 10