Server crashes several minutes after using Verse to create a temporary instance of material with a parameter

Summary

Whether in Editor and Private Version, server consistently crashes several minutes after Verse is used to create a temporary instance of material with a parameter, and assign it to a temporary prop.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

  1. In Editor, create a Material that has a Material Parameter node, e.g. M_Test with a parameter named Opacity

  2. In Verse, create an instance of this material, e.g.

Material := M_Test_material { Opacity := 0.1 }

Do not store this instance on the device.

  1. Assign this material to temporary spawned prop
    (Not sure if this is required to reproduce, haven’t tried without this):
Prop := SpawnProp(...) # Any asset
Prop.SetMaterial(Material)
Prop.Dispose()
  1. Run your game
  2. Wait 3-10 minutes (after material was used).

Expected Result

No issues

Observed Result

[2024.08.30-19.33.24:737][217]LogNet: Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.01, Real: 30.01, Good: 30.01, DriverTime: 933.17, Threshold: 30.00, [UNetConnection] RemoteAddr: 3.25.183.145:15031, Name: IpConnection_4, Driver: Name:IpNetDriver_4 Def:BeaconNetDriver IpNetDriver_4, IsServer: NO, PC: NULL, Owner: ValkyrieBeaconClient_2, UniqueId: MCP:cfa359c8474d4e399eb4c668b125a9e6
[2024.08.30-19.33.24:743][217]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.01, Real: 30.01, Good: 30.01, DriverTime: 933.17, Threshold: 30.00, [UNetConnection] RemoteAddr: 3.25.183.145:15031, Name: IpConnection_4, Driver: Name:IpNetDriver_4 Def:BeaconNetDriver IpNetDriver_4, IsServer: NO, PC: NULL, Owner: ValkyrieBeaconClient_2, UniqueId: MCP:cfa359c8474d4e399eb4c668b125a9e6, Driver = Name:IpNetDriver_4 Def:BeaconNetDriver IpNetDriver_4
[2024.08.30-19.33.24:756][217]LogValkyrieRequestManagerEditor: Warning: Encountered Network Error!
[2024.08.30-19.33.24:760][217]LogValkyrieRequestManagerEditor: Error: Failed to handle connection attempt (Network error occurred when connecting to a server after matchmaking completed. Error: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.01, Real: 30.01, Good: 30.01, DriverTime: 933.17, Threshold: 30.00, [UNetConnection] RemoteAddr: 3.25.183.145:15031, Name: IpConnection_4, Driver: Name:IpNetDriver_4 Def:BeaconNetDriver IpNetDriver_4, IsServer: NO, PC: NULL, Owner: ValkyrieBeaconClient_2, UniqueId: MCP:cfa359c8474d4e399eb4c668b125a9e6)
[2024.08.30-19.33.24:844][218]LogValkyrieSummary: Destroying Valkyrie Beacon

Platform(s)

Windows (PC)

Additional Notes

If created Material instance is saved on the device (e.g. set Self.SavedMaterial = Material), then the crash does not happen.

I assume that crash might be related to server garbage collection (when material instance is collected), which would explain why timing is a bit random (3-10 minutes), and why it does not happen if material lifetime is extended by storing the instance.

We’ll get someone to take a look.

The status of FORT-789823 incident has been moved from ‘Needs Triage’ to ‘Closed’. Resolution Reason: ‘Cannot Reproduce’

I am facing the same problem. Did you find a solution?

The workaround is in the Additional notes