PubNub LogoDocs
SupportContact SalesLoginTry Our APIs

›unity

unity

  • Getting Started
  • API Reference

    • Configuration
    • Publish & Subscribe
    • Presence
    • Access Manager
    • Channel Groups
    • Message Persistence
    • Mobile Push
    • Objects
    • Files
    • Message Actions
    • Miscellaneous
  • Status Events
  • Troubleshooting
  • Change Log
  • Feature Support
  • Platform Support

Changelog for PubNub Unity SDK

v6.0.1

November 30, 2021

Modified

  • Remove BouncyCastle, JsonFx.Json, MarkerMetro and crypto DLLs. Features works without the need of these libs.

v6.0.0

October 12, 2021

Added

  • SetToken and ParseToken for PAMv3.

Modified

  • BREAKING CHANGE - Removed Token Management System - Client end

v5.0.1

July 6, 2021

Fixed

  • Fixed missing UUID in message action events.
  • Fixed custom count settings in Fetch Messages with Message Actions.

v5.0.0

April 12, 2021

Modified

  • BREAKING CHANGE - New JSON Parser Json .Net for Unity 2.0.1. The parser used earlier has been deprecated.
  • BREAKING CHANGE - IV used for encryption is now random by default.

v4.10.1

December 14, 2020

Fixed

  • Fixes issue of missing more field in FetchMessages response.

v4.10.0

October 19, 2020

Added

  • Files.
  • Random IV in Encryption.
  • Fetch with UUID and Message Type.

Modified

  • Fetch with 100 messages.

v4.9.0

September 15, 2020

Added

  • Objects V2.

v4.8.3

June 17, 2020

Fixed

  • Example scene fix for Unity 2018.

v4.8.2

April 10, 2020

Added

  • Objects Sorting

v4.8.1

March 10, 2020

Fixed

  • Correct null check for signal callback

v4.8.0

February 18, 2020

Modified

  • Token Management System - Client end

v4.7.3

February 5, 2020

Modified

  • HereNow Deserialization Error fix

v4.7.2

January 16, 2020

Modified

  • Presence Heartbeat defaults to 300

Fixed

  • Heartbeat query param in Presence heartbeat call

v4.7.1

January 6, 2020

Modified

  • Objects Filtering

v4.7.0

December 24, 2019

Modified

  • APNS2
  • Push payload helper class

v4.6.0

November 22, 2019

Modified

  • Message Actions added missing TotalCount, Next, Prev for Get Users/Spaces, Manage/Get Members/Memberships
  • Return types of Start and End in PNGetMessageActionsMore changed to long

v4.5.0

November 21, 2019

Modified

  • Message Actions
  • Fetch with Message Actions

v4.4.0

November 8, 2019

Modified

  • Objects

v4.3.0

October 10, 2019

Modified

  • Signals
  • IncludeMeta in History and Fetch

v4.2.1

June 4, 2019

Modified

  • Presence Timeout cannot be lower than 20

Fixed

  • PNPresenceEventResult.State property not populated in callback

v4.2.0

March 13, 2019

Modified

  • Message Counts simplification (Breaking changes from the previous version).

v4.1.1

March 5, 2019

Modified

  • Message Counts API

v4.1.0

February 18, 2019

Modified

  • BREAKING CHANGE: Fixed a typo by renaming the event from SusbcribeCallback to SubscribeCallback and the EventArgs from SusbcribeEventEventArgs to SubscribeEventEventArgs

v4.0.5

January 9, 2019

Added

  • Heartbeats per channel
  • QueryParams in all API calls

Modified

  • Presence Heartbeat call delays itself when a Subscribe call precedes it
  • User Exceptions Fix

Fixed

  • Leave callback message exception fix

v4.0.4

November 13, 2018

Modified

  • UnityPackage reorganization

v4.0.3

November 12, 2018

Modified

  • Travis update for UnityPackage

v4.0.2

August 23, 2018

Modified

  • Delete Messages Fix

v4.0.1

March 8, 2018

Modified

  • Integration tests fixes

v4.0-rc2

February 28, 2018

Modified

  • Here Now Refresh

v4.0-beta6

January 22, 2018

Modified

  • Cleanup

v4.0-beta5

January 18, 2018

Modified

  • Logging enhancements

v4.0-beta4

January 16, 2018

Modified

  • Cleanup

v4.0-beta3

January 11, 2018

Modified

  • Windows Universal compatibility

v4.0-beta2

December 26, 2017

Modified

  • Leave fixes

v4.0-beta1

December 18, 2017

Modified

  • All new PubNub Unity SDK

v3.7.10

December 11, 2017

Modified

  • Presence delta intervals

v3.7.9

August 8, 2017

Modified

  • Unity UWP compatibility

v3.7.8

March 31, 2017

Modified

  • Presence delta intervals

v3.7.7

February 20, 2017

Modified

  • Prefix UUID with 'pn-'

Fixed

  • Region check in Timetoken dictionary

v3.7.6.2

January 12, 2017

Fixed

  • Fixed user state issue for other UUID

v3.7.6.1

December 21, 2016

Added

  • Changed origin to ps.pndsn.com

v3.7.6

December 9, 2016

Added

  • Offers the ability to set a per message time to live in storage.
  • Find out which UUID sent the message (only available when debug symbol PUBNUB_PS_V2_RESPONSE is used).

v3.7.5

Modified

  • Windows Store Universal 10 store compatibility
  • Changed the JSON lib to use: https://github.com/MarkerMetro/MarkerMetro.Unity.JsonFx, as it is compatible with Windows store.
  • BouncyCastle(http://www.bouncycastle.org/csharp/) is used for crypto functionality.

v3.7.4

September 24, 2016

Added

  • Added a debug symbol PUBNUB_PS_V2_RESPONSE to enable v4 subscribe

v3.7.3

Added

  • Fixed SetGameObject

v3.7.2

August 2, 2016

Added

  • PubSub v2
  • Channel Groups
  • Message Filtering
  • Wildcard Subscribe

Modified

  • Code optimizations

v3.6.9.1

June 21, 2016

Modified

  • A new debug symbol to reduce the usage of coroutines. Set REDUCE_PUBNUB_COROUTINES, to use the alternate logic for www coroutines used by the PubNub's SDK. When using this option it is recommended that you call TerminateCurrentSubscriberRequest when the app comes back to the foreground else an ongoing long request will wait till the timeout value to abort and reinit the request.
  • For iOS if the value of NonSubscribeTimeout and SubscribeTimeout is greater than 59 secs, the SDK will force the value to be 59 secs.

v3.6.9.0

Added

  • Add mobile push methods.

Modified

  • Refactored code.
  • JSON library: the pre-compiler directives to choose between MiniJSON and JSONFx have been moved to the class JSONSerializer.cs.
  • `Logging: In addition to setting the variables PubnubLogLevel = LoggingMethod.Level.Info and PubnubErrorLevel = PubnubErrorFilter.Level.Info you also need to add a "define symbol": ENABLE_PUBNUB_LOGGING for each of the platform you want to enable logging.

This setting is available in the Unity Editor: File-> Build Settings -> Player Settings -> Other Settings -> Configuration -> Scripting define symbols. After you type ENABLE_PUBNUB_LOGGING in it do remember to press return with the focus still in the text box or your setting will not be saved. `

  • Default value of SSL is now true.

v3.6.8.8

Fixed

  • some fixes for subscribe request timeouts.

v3.6.8.7

Modified

  • removes forceful garbage collection.

v3.6.8.6

Fixed

  • Fix for "null" message in callback when a message contains multiple messages, one of which is of type System.Collections.Generic.Dictionary`2[System.String,System.Object].

v3.6.8.4

Fixed

  • Duplicate messages on some occasions.

v3.6.8.3

Fixed

  • Non subscribe callbacks were not fired when called from within a callback of an earlier request.

v3.6.8.1

Fixed

  • Missed messages when adding a channel to multiplexed.
  • Sub timeout gets fired when in app goes in background and the request is not complete.
  • User State didn't change in some cases.
  • Multiple requests heartbeats were running.
← TroubleshootingFeature Support →
  • v6.0.1
    • Modified
  • v6.0.0
    • Added
    • Modified
  • v5.0.1
    • Fixed
  • v5.0.0
    • Modified
  • v4.10.1
    • Fixed
  • v4.10.0
    • Added
    • Modified
  • v4.9.0
    • Added
  • v4.8.3
    • Fixed
  • v4.8.2
    • Added
  • v4.8.1
    • Fixed
  • v4.8.0
    • Modified
  • v4.7.3
    • Modified
  • v4.7.2
    • Modified
    • Fixed
  • v4.7.1
    • Modified
  • v4.7.0
    • Modified
  • v4.6.0
    • Modified
  • v4.5.0
    • Modified
  • v4.4.0
    • Modified
  • v4.3.0
    • Modified
  • v4.2.1
    • Modified
    • Fixed
  • v4.2.0
    • Modified
  • v4.1.1
    • Modified
  • v4.1.0
    • Modified
  • v4.0.5
    • Added
    • Modified
    • Fixed
  • v4.0.4
    • Modified
  • v4.0.3
    • Modified
  • v4.0.2
    • Modified
  • v4.0.1
    • Modified
  • v4.0-rc2
    • Modified
  • v4.0-beta6
    • Modified
  • v4.0-beta5
    • Modified
  • v4.0-beta4
    • Modified
  • v4.0-beta3
    • Modified
  • v4.0-beta2
    • Modified
  • v4.0-beta1
    • Modified
  • v3.7.10
    • Modified
  • v3.7.9
    • Modified
  • v3.7.8
    • Modified
  • v3.7.7
    • Modified
    • Fixed
  • v3.7.6.2
    • Fixed
  • v3.7.6.1
    • Added
  • v3.7.6
    • Added
  • v3.7.5
    • Modified
  • v3.7.4
    • Added
  • v3.7.3
    • Added
  • v3.7.2
    • Added
    • Modified
  • v3.6.9.1
    • Modified
  • v3.6.9.0
    • Added
    • Modified
  • v3.6.8.8
    • Fixed
  • v3.6.8.7
    • Modified
  • v3.6.8.6
    • Fixed
  • v3.6.8.4
    • Fixed
  • v3.6.8.3
    • Fixed
  • v3.6.8.1
    • Fixed
© PubNub Inc. - Privacy Policy