I have a point layer and a line layer (old). I projected my points to the closest line of the line layer. For it I used geometry expression
shortest_line(
@geometry,
aggregate('old_line', 'collect', @geometry)
)
So I got two line layer.
Now I try to split old line layer by lines from the new layer. I used a tool described here Split Lines at Intersection of Other Lines but it didn't help me.
I also tried to union both vector layer and then to use Explode lines. But line wasn't splitted.
Could anybody help me? I need two lines instead this yellow line:

At the same time another line was splitted. I don't understand what the difference because the points were projected to the closest line with the same expression
