Player wont jump when platform's layer is changed to a created one!

I need the platform’s layer to be a created one so that the spikes can pass through using the collision matrix. The problem is when i change the layer of the platform the player doesn’t jump for some reason like he just stayes on the ground while doing the jump animation. Can anyone please help me!! I tried everything i could think of!!! Thanks in advance <3

@davidcmpou A bit late but if anyone still has this problem just change the “What is ground” under Platformer Character 2D to include your new layer:167867-99b4387a3c633efea703ae639027c8b8.png

,@davidcmpou A bit late but if anyone still has this problem just change the “What is ground” under Platformer Character 2D to include your new layer: