Description
away from this issues #649 there are some other bugs.
- Scene checksum error:
when using a scene from file i always get an Scene checksum error.
From log:
[10:03:33] [info] [main] : Scene checksum error from client #1 fd00::d769:4bb:b57e:d956:55180:0
to reproduce add this lines to the AdvancedNetworking sample:
void AdvancedNetworking::CreateScene()
{
scene_ = new Scene(context_);
auto* cache = GetSubsystem<ResourceCache>();
SharedPtr<AbstractFile, RefCounted> file = cache->GetFile("Scenes/SceneLoadExample.xml");
scene_->LoadXML(*file);
scene_->SetFileName("Scenes/SceneLoadExample.xml");
.....
i disabled this check atm, it's more pleasant in development anyway.
- Hanging thread after closing client with VS2022 build:
Client application still running in background when its closed and have to terminated with taskmanager.
as an emergency solution i changed in Network.cpp
void Network::HandleApplicationExit()
{
while (connectionToServer_ || !clientConnections_.empty())
to
while (!clientConnections_.empty())
}
- There is a package maxsize but no message splitting in replica or network when message is greater then the maxsize.
In my stresstests server doesnt send the networkobjects because void ClientReplicationState::SendAddObjects() creates an too big VectorBuffer.
As a solution i have splitted the connection_->SendGeneratedMes 504B sage process to a maximum of 500 networkobjects in my project atm.