I was using an old marlin firmware with auto bed leveling enabled and every

I was using an old marlin firmware with auto bed leveling enabled and every think worked great, but after i updated marlin after it runs G29 the nozzle raise then start printing from the air.
I use proximity sensor for auto bed leveling, my start Gcode command is:
G28
G29
G92 Z0.2
Any ideas???

Could be a bug in the latest Marlin version. I would report it. Also double check that you have the endstop switched to HIGH for the inductive sensor

https://github.com/MarlinFirmware/Marlin/issues/4315 - try using the latest RCBugFix, may have been sorted

Use the M851 command to set the gap between the probe and nozzle. Save this setting in eeprom with M500 and test/adjust untill right. Make sure you configured the probe settings like its orientation and style i.e. ‘fixed probe’ in config.h
happy to help if you het stuck.

Thank you guys for your for you quick response

it turns out that i forgot to set (z min end stop) to true ,so i set it true but another problem appears ,when i hit z homing button it home to the opposite direction and auto leveling also

i tried to change home DIR but z homing doesn’t move at all

@Ali_Fadl - I’d suggest you put a post on the Marlin GitHub and read the bug reports - https://github.com/MarlinFirmware/Marlin/issues/ you’re more likely to find the answer/get the best help there.

Ok, thanks