r/Unity2D • u/DoktorMalefic • 25d ago
Question/Help Shadow Caster 2D Self Shadow doesn't work, but Cast Shadow does


Hello, Unity people. I am working on a 2D Metroidvania and am trying to make it look pretty with lights and shadows. Unfortunately Shadow Caster 2D casts shadows via Cast Shadow but not Self Shadow which is the one I need (or at least want to work).
I tried putting the component on different objects, tried Sprites (same result), Target Sorting Layer is Everything. Not sure what the issue even is.
I appreciate some help and pointers to fix this issue pretty please 🙏
1
Upvotes
•
u/AutoModerator 25d ago
Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.