Skip to content

Setting CRT Size to massive values crashes #57

Description

@OwenTheProgrammer

When setting up a VideoTXL render texture through the Scene Manager, it is possible to crash, most likely due to a vram requirements not met error.

Reproduction steps:

  1. Create a new project
  2. Bring the Sync Video Player into your scene
  3. Select the Scene Manager
  4. Add a render texture as typical to VRChat setups
  5. Resize the CRT Size parameter, but fat finger 1920x1080 and instead type 19201x1080
  6. Move Unitys focus to another field, commiting the resolution changes
  7. Crash

Theres a good chance this can be solved by verifying the resolution and graphics format of the requested render texture is actually possible using something from the SystemInfo class or just having a sanity check for a max resolution.

image

Project Info:

Unity version: 2022.3.22f1
Packages:

  • VRChat SDK Worlds: 3.7.0
  • VRChat Package Resolver Tool: 0.1.29
  • VRChat SDK Base: 3.7.0
  • Audiolink: 1.4.0
  • VR Stage Lighting: 2.7.1
  • TXL CommonTXL: 1.5.3
  • TXL VideoTXL: 2.4.14
  • ArchiTech.VideoPlayerShim: 1.3.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions