Blob Serialization

Kahncode - 코드 플러그인 - 2021/03/24

Allows usage of Blobs, blueprint variables that can contain anything! Also adds advanced serialization utilities in C++ to easily read and write unreal objects into any format.

  • 지원 플랫폼
  • 지원 엔진 버전
    4.24 - 4.27, 5.0 - 5.1
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

BlobSerialization is a powerful utility plugin that allows you to create a BLOB blueprint variable that can contain anything! This is a form of polymorphism that adds much-needed flexibility to blueprints. Where you had to create a UObject before to contain different types of data, you can now use a Blob! This will allow you to build more powerful and reusable systems which can manipulate different types of data.

BLOB stands for Binary Large Object. Using binary serialization, blobs can be written with any type of data and the data can be retrieved later when reading. Blobs are not a replacement for UObject polymorphism, but a different approach, with its pros and cons. Blobs are safe to pass in the network when using the Net behavior, this means they can be used as a replicated variable or a parameter in a RPC for you to create your own network protocols.

BlobSerialization also adds a series of code utilities designed to make serialization of Unreal objects easy and safe for typical use cases, including serializing for debugging, serializing to an external storage such as a database, or serializing over the network. This allows you to read and write UObjects, UStructs, or any arbitrary data, and convert them in any format you desire. These are advanced programming features that require a good understanding of Unreal's Object System.


  • Blobs can contain any blueprint Struct or UObject
  • Blobs have several predefined serialization behaviors to choose from (including for persistent storage, SaveGame, Binary or Network)
  • Typed Blobs contain type information to allow polymorphic logic
  • UObjects can be fully serialized with type information for fully polymorphic UObject serialization
  • Write UObjects and structs to Json string
  • Write UObjects and structs in text or binary form to files
  • Blobs can be used from code more freely using FBlobWriter and FBlobReader, to serialize arbitrary data
  • Blobs are safe to pass in the network as replicated variables or RPC parameters
  • Blueprint functionality is extended with more structs and function libraries
  • Tutorial blueprints, code examples, and unit tests are included in the plugin

기술적 세부사항

Code Modules:

  •  BlobSerialization (Runtime)
  •  BlobSerializationEditor (Editor)

Number of Blueprints: 13 Tutorial and Helper Blueprints

Number of C++ Classes: 4 Public Classes and Structs, New Blueprint Nodes associated

Network Replicated: Yes

Supported Development Platforms: All

Supported Target Build Platforms: All

Code Documentation: see, Blob.h, BlobFunctionLibrary.h, Serialization.h, NetSerialization.h, TextSerialization.h, usage examples in BlobSerializationTests.cpp.

Blueprint Documentation: see BlobTutorialMap and BP_BlobTurorial