Call upgradeDataSchema if there is no error (#2450)
Call upgradeDataSchema if there is no error (#2450)

Co-authored-by: Steven Yau <c4e01c0f87a9d4bf034f0f681553ace272d52b0f@snaphcat.com>
playcanvas/engine,MicroWorldwide/PlayCanvas,playcanvas/engine,MicroWorldwide/PlayCanvas