Hi and welcome to the forum!
I'm not exactly sure what you mean, so sorry for assuming
.
When you say 'player stuck on wall', do you mean that when you jump and you hit a side of the wall, you don't slide down the wall?
If so you can try to add a physics material to the wall's collider:
https://docs.unity3d.com/Manual/class-PhysicsMaterial2D.htmlIn the project window just click create and chose 'physics material 2d'. Then set the friction to very low and drag that onto the collider, into the 'physics material' slot. This should make it so that when you hit the wall, you slide down it. (Also if you're making a platformer, I'm sure you will have fun with the bounciness setting
).
Good luck with it, hope this helps!
(Edit to add: as you're making a 2d plartformer, you should check out this tutorial, if you have not come across it already that is:
https://youtu.be/2TmsuoBlfcQ )