LVGL8.3 Failed to obtain coordinates and height/width

When I finish creating an OBJ, I immediately fail to retrieve information
lv_obj_get_x(obj) x=0
lv_obj_get_wight(obj) wight = 0