Page MenuHomeFeedback Tracker

Crash when trying to load a Video
New, UrgentPublic

Description

Client Crashes when a Video Widget should load a video

layoutRoot = GetGame().GetWorkspace().CreateWidgets( "BallerbudeServerPack/gui/layouts/spawnmenu.layout" );
videoWidget = VideoWidget.Cast( layoutRoot.FindAnyWidget("videobg") );
if (videoWidget) {
    Print("Trying to load video");
    videoWidget.LoadVideo("BallerbudeBG.mp4",0); // Crash happens here, when I try to load the Video file. I also tried many different Paths, but no success
} else {
    Print("Video Widget not found !");
}

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Create a layout with a Video Widget
  2. Create a class extending UIScriptedMenu
  3. Load a video in the init() of the Widget

Event Timeline