I have the exact same issue and also make use of a lake feature in my datapack. Hope there will come a fix to this!
I can confirm using a lake feature is the cause of crashing/freezing the game When I removed the feature from my biome there was no issue Removing in_square from my placed feature did not work and kept crashing/freezing my game.
Also this bug only happens when you refer to your own configured feature in your placed feature file! When referring to for example minecraft:lake_lava there is no problem It happens for all my updated datapacks!
I have the exact same issue and also make use of a lake feature in my datapack.
Hope there will come a fix to this!
I can confirm using a lake feature is the cause of crashing/freezing the game
When I removed the feature from my biome there was no issue
Removing in_square from my placed feature did not work and kept crashing/freezing my game.
Also this bug only happens when you refer to your own configured feature in your placed feature file! When referring to for example minecraft:lake_lava there is no problem
It happens for all my updated datapacks!