after i packaged the project ,the chaos cloth keeping in blink and disappearing and displaing
i have the video
Video_2024-01-29_142400.wmv (4.2 MB)
2 Likes
I’ve got exactly the same problem! Are you doing something with replication?
I am having the same issue. Its a single player game with no replication going on.
I found out that the IsSimulationEnabled
function returns false in a packaged build.
Looking at the source code:
bool UChaosClothComponent::IsSimulationEnabled() const
{
static IConsoleVariable* const CVarClothPhysics = IConsoleManager::Get().FindConsoleVariable(TEXT("p.ClothPhysics"));
return bEnableSimulation && ClothSimulationProxy.IsValid() && (!CVarClothPhysics || CVarClothPhysics->GetBool());
}
The function checks the bEnableSimulation
variable which is true. And I’ve checked the console variable as well, that is also true. Can’t seem to figure out what ClothSimulationProxy.IsValid()
is returning or why it could be invalid.
Facing the same problem here. Wondering if anyone has figured out the solution?
UE5.4 fixed the issue. There could be a way to fix it by using modified UE5.3 from its source