Sometimes when I launch my game, this error appears rarely. Can I get help with this?
Another issue: (A version of this is on the Github issues) If you have a single bridge using InvokeServerAsync
in two different places, both calls will return the same result.
Example…
You have a bridge called “GetThings”. You arrange the arguments in such a way that one of them describes what to get e.g. sounds, images, colors.
In your SoundData script you call: GetThings:InvokeServerAsync("sounds")
, and at the same time in your ColorData script you call: GetThings:InvokeServerAsync("colors")
.
Whichever operation finishes first will be the return for both. If colors finishes, your sounds fetch will return colors and vice versa.
The workaround here is to use different bridges for different InvokeServerAsync
operations.
Use byteNet now Bridge net is no longer supported or probably not even working, ByteNet is BridgeNets successor ByteNet | Advanced networking library w/ buffer serialization, strict Luau, absurd optimization, and rbxts support. | 0.4.3