Question by
gummybearjames180 · Apr 07 at 02:30 PM ·
unity 2d
Object not rendering in game view, but still has collision
As seen in the screenshot, the enemy(the big pink thing), is only rendered in the scene view(right side). However, the version in the game view(left side) still has collision, as I take damage when I touch it. Why is it not rendering in the game view?
The order in layer of the enemy is greater than the background, so I don't know what could be wrong
Any help would be greatly appreciated
2022-04-07-2.png
(169.4 kB)
Comment
Best Answer
Answer by gummybearjames180 · Apr 10 at 07:12 PM
Figured it out, the enemy was really far behind the camera for some unknown reason, considering its z position was 0, so I just moved it forward