Updating PX4 version in a Gazebo Simulation

Hello,

I have a simulation (ROS Noetic) running with PX4 v1.12.3, I would like to upgrade it to a newer version, such as v1.15.2. I have downloaded the updated repository.
When I start the simulation, if I echo the topic “/mavros/state” I see the status “connected: true”, but all other topics are not populated. I’m just recently working with PX4 so maybe I’m doing some configuration wrong, could you point me to how to fix it?

Just an update:
I solved the problem related to empty topics by copying the old files (px4-rc.simulator and rc.mc_apps) I was using with v1.12.3, but when I launch my node for offboard control it doesn’t take off, but the OFFBOARD mode is enabled, can you help to find the problem an solve it?

Thank you in advance!