I added two scenes into one map widget. Everything works fine in draft mode during configuration.
After publishing the app, the elevation profile widget only works for the first scene. If I switch to the other scene, the elevation profile will show as blank.

Switch back to the first scene, works again.