The March sale is here! Save 50% on select products now through March 21.

Blueprint Streams

Rapax Games - Code Plugins - Feb 6, 2019

Blueprint Streams lets you handle byte array data streams directly in Blueprints.

  • Supported Platforms
  • Supported Engine Versions
    4.20 - 4.27
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Blueprint Streams provides handling of byte array data streams directly in Blueprints.


Useful for:

  • Save game data in case you want to avoid huge, bloated, unmanageable SaveGame objects. Each actor can write to and load from your serialized array with a custom logic, and you only need to save this single array in your SaveGame object. See the Save and Load screenshots on this page as examples (contained in the attached project too).
  • Send encrypted data through network. If you have any sensitive data that you need to send to another machine, obfuscating a byte array is much easier than doing it on a per-variable basis.
  • And whatever else you generally use streams for in C++.


We only actively update the package for the most recent UE4 version (but of course we provide e-mail support for older versions too). UE5 support is not planned at this point.

Technical Details

Generally, it is a simple wrapper around the memory writer C++ classes.


Features:

  • Reading from and writing to byte array data streams
  • Saving and loading the streams to/from binary files
  • All 12 standard variable types and their array counterparts are supported
  • Extensible: You can create your own writer and reader functions directly in Blueprints, so you can (de)serialize your custom objects, structs, maps, sets, and arrays too


Example Project: https://github.com/KristofMorva/blueprint-streams

Code Module: BlueprintStreams (Runtime)

Number of C++ Classes: 2 (StreamReader, StreamWriter)

Supported Development Platforms: All

Supported Target Build Platforms: All

Important/Additional Notes: Please note that direct file reading/writing is not supported on all platforms.