Skip to main content

What Problem Does This Solve?

Before you can use the LCK SDK, you need to initialize it with LckCore.Initialize(). This process can fail for several reasons: missing tracking ID, invalid arguments, network issues, or user not logged in. CoreError provides specific error codes for these initialization and core-level failures so you can diagnose and fix setup problems.

When to Use This

You’ll encounter CoreError when:
  • Initializing the SDK with LckCore.Initialize()
  • Operations require authentication (user login)
  • Passing invalid arguments to core methods
  • SDK encounters internal errors during setup
These are setup-time errors, not runtime recording errors (those use LckError).

Quick Example


Error Breakdown

MissingTrackingId

When it happens: You passed null, empty string, or invalid tracking ID to Initialize() How to fix:
Your tracking ID comes from the LIV Developer Dashboard. Get it from https://dashboard.liv.tv/dev/

InvalidArgument

When it happens: You passed invalid data to a core method (bad GameInfo, null parameters, etc.) How to fix:
Validate your inputs before calling core methods.

UserNotLoggedIn

When it happens: Operation requires authentication but user hasn’t logged in How to fix:
Some SDK features require the user to be logged into their LIV account.

InternalError

When it happens: Unexpected SDK internal failure What to do:
  1. Check the full error message: result.Message
  2. Look for more details in Unity console or device logs
  3. Report to LIV support with:
    • Error message
    • SDK version
    • Platform (Android, Windows, etc.)
    • Steps to reproduce

Complete Error Reference


Common Initialization Pattern


Best Practices

Validate inputs — Check tracking ID and GameInfo before initializing
Initialize early — Call in Awake() or Start() before using SDK
Handle all errors — Don’t ignore initialization failures
Log details — Include platform, SDK version in error reports

Don’t ignore initialization errors


Debugging Tips

Check if already initialized

Validate tracking ID format

Test with mock data