The issue was caused by particles using billboard distribution, which requires either object to be specified or camera in the scene to be existing. This commit prevents backing from crash, but bake result might not be totally expected because of the thing mentioned above.