Page MenuHomeFeedback Tracker

publicVariable + hashMap = crash in MP
Closed, ResolvedPublic

Description

Assuming I'm not doing something completely wrong, seems that "publishing" hashmap with any of the publicVariable commands or missionNamespace setVariable crashes receiving clients or server, or both.

Tested on hosted.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. place down player and a playable unit
  2. play in MP (via internet) both the host and client connected
  3. server exec: private _myMap = createHashMapFromArray [["a",1], ["b",2], ["c",3]]; missionNamespace setVariable ["foobar", _myMap, true];
  4. instant client crash

Event Timeline

h- created this task.Jan 20 2021, 12:16 PM
h- changed Reproducibility from N/A to Always.Jan 20 2021, 12:18 PM
h- changed Operating System from Windows 7 to Windows 10 x64.
h- changed Category from General to Scripting.
dedmen changed the task status from New to Feedback.Feb 1 2021, 4:33 PM
dedmen added a subscriber: dedmen.

Fixed next dev branch update

DerZade added a subscriber: DerZade.EditedMar 31 2021, 6:19 PM

Just stumbled upon this. In my experience this seems to work in stable now, so any reason this ticket is still open?

Pi closed this task as Resolved.Jun 12 2021, 4:46 PM
Pi claimed this task.