This blend file contains only the default cube. I've create two Actions: MyTrans that implements only a translation & MyRot that implements only a rotation.
Each of those Actions, I've 'pushed down' to create an NLA strip on NLA tracks called MyTranT and MyRotT.
So far, so good. If I export the cube to a gltf 2.0 file, and then load the exported file in a viewer, I can see the two tracks, identified by trackname & play either one, or both at once.
The problem occurs when I restructure what's in the NLA editor a bit. Here, I've added a copy of the rotation action to the MyTranT track.
I can play either track within the Blender IDE. In particular, playing the MyTranT track results in a translation followed by a rotation.
However, if I now export as gltf, only the single action track seems to get exported.
I'm using 2 online gltf viewers:
https://gltf-viewer.donmccurdy.com/
https://sandbox.babylonjs.com/
both behave the same way in this regard.
Both actions have users, MyTrans has 2 and MyRot has 3. Neither action is lost when the blend file is closed & reopened. I've also tried giving each action a fake user.
makes no difference though, the track containing 2 actions doesn't seem to get exported.
For both these situations, I've tried exporting as glTF Embedded and examining the text output.
In the first situation, where there is only a single action in each NLA track, the only names visible in the text output are those of the tracks, ie MyTranT and MyRotT. The action names appear nowhere.
In the second situation, where one track contains 2 actions, it's a bit mixed up. For the track containing a single action, ie MyRotT containing action MyRot, the name 'MyRot' is visible in the output. For the track containing 2 actions, ie MyTranT, the name of the first action on that track, ie 'MyTrans' is visible in the output but the track name is not.
So my question is, why doesn't this work?
Blender 2.83.3 on Linux