#Sprite Render issue
1 messages ยท Page 1 of 1 (latest)
yep, I am here ๐
Nice :)
anyways where we left off:
This is the inspector for the powerup
I highly doubt it's a code problem
but it does have 2 other components other than the sprite renderer
What happens if you remove that material on the spriterenderer?
On your inspector, there is a material line attached to teh renderer, can you remove that?
sure
didn't even notice it
now it's purple
however I did test out using my other sprites and they also have weird results
for example:
this is a sprite that works when rendered individually:
this is what happens when I put that same sprite in the sprite renderer:
It isn't the same shape
it makes this weird shape
maybe it's the problem with the sprite renderer?
Okay, if you create an empty gameobject, put a spriterenderer component on it and than select a sprite, that is giving you those results?
Nope
however that means there is an alternative
I can just put the sprite renderer as a seperate parented object
but before I do I still want to know what's causing this
wait
I noticed something
That means it works with a clean spriterenderer or it does not work? ๐
yes, but I noticed something
when adding a fresh sprite renderer component
there is a material already in place there by default
It must've had rendering issues because I had a different material
Fresh sprite renderer:
Modified
in the material placeholder the material is missing
let me see if I add the same material it will work
It works!!
Yep, you should either take none or a sprite material with the correct shader
Happens ๐
first it's the wrong channel and now this
get some good shut eye maybe ๐
haha clumsy brain sorry bout that
maybe
Great you figured it out ๐
anyways thanks for being cooperative :)