Troubleshooting
Multi-scene setup
When networked Entities are added by loading a scene additively, mind that the
CoherenceMonoBridge
must be set to a singleton mode. In case of a non-singleton MonoBridge the Entity will search for a MonoBridge instance within its scene, and if none is found it will be created in that scene. This applies to bothCoherenceSync
andLiveQuery
objects.For a complete control over
CoherenceMonoBridge
resolving you can use eitherCoherenceSync.MonoBridgeResolve
instance event orMonoBridgeStore.MonoBridgeResolve
global event. ACoherenceMonoBridge
instance provided by theMonoBridgeResolve
event takes precedence over the scene and singleton ones.
Baking
Sometimes packages cache gets stalled and after updating the coherence package you might find Unity still uses the old package version. Try
Reimport all
or closing the project, deleting theLibrary
folder, and reopening the project again. It will clean and update packages cache, and use the version of coherence stated inmanifest.json
.
Last updated