Skip to content

[BUG] SceneListChanged event causes System.ArgumentException: Can not convert Array to String. #148

@SmArtKar

Description

@SmArtKar

Issue Type

  • Bug

Describe the bug
Adding/removing a scene in OBS causes System.ArgumentException: Can not convert Array to String. and fails to invoke the SceneListChanged event

To Reproduce
Steps to reproduce the behavior:

  1. Run test client
  2. Enter advanced mode
  3. Set up events
  4. Add a new scene in OBS and see the error

Expected behavior
The event would be fired

Versions
OBS Version: 32.1.0 (64 bits)
OBS WebSocket Version:
OBS WebSocket Dotnet (this library) Version: 5.0.1
OS: Windows 10

Additional context
Error occurs in

SceneListChanged?.Invoke(this, new SceneListChangedEventArgs(JsonConvert.DeserializeObject<List<JObject>>((string)body["scenes"])));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions