热更新子游戏使用插件的问题

1.子游戏中使用了protobuf.js并且设置为插件
2.主工程使用热更新的方式下载子游戏
3.切换到子游戏之后,在使用protobuf的地方提示:ReferenceError: protobuf is not defined
请问这应该怎么解决?
@jare @panda