chaos cloth panel after package problem

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)

1 Like

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.