Why is there no steam in packing with the shipment version?

I found a solution:
Create a text file named steam_appid in the folder with the packaged game \your game name\binaries\win64 and enter the application id there. Steam appeared, BUT I can’t open the levels, they just open and immediately throws me to the starting level (level menu)
UPD: I FOUND!!11 From beginning my project can’t normally add C++ code :confused: and in another project all works correctly . So solution is make new project which can normally add C++ code