Page MenuHomeFeedback Tracker

DX11 error Create Texture failed E_INVALIDARG [VIDEO]
Closed, ResolvedPublic

Description

When trying to stream .ogv video to Land_FlatTV_01_F the game crashes with DX11 error Create Texture failed E_INVALIDARG

Few things to note. If the same texture is applied to player as well then no crash happens and it is indeed possible to stream .ogv videos on textures.

https://www.youtube.com/watch?v=VHQ0EKsoSzY

However video is not going to start playing on its own unless it is also streamed on to UI element. I used bis_fnc_playvideo for this. {F25232} {F25233}

Details

Legacy ID
3983856877
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

start editor. In debug console execute:

tv = "Land_FlatTV_01_F" createvehicle (player modeltoworld [0,0.5,0]);
tv setobjecttexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"];
player setObjectTexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"];
["\A3\Missions_F_EPA\video\A_in_intro.ogv",[10,10]] spawn bis_fnc_playvideo;

You can see playback as on attached video

Now restart editor mission only this time remove player texture setup:

tv = "Land_FlatTV_01_F" createvehicle (player modeltoworld [0,0.5,0]);
tv setobjecttexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"];
["\A3\Missions_F_EPA\video\A_in_intro.ogv",[10,10]] spawn bis_fnc_playvideo;

Crash.

Not removing player texture setup but changing player texture immediately to something else will also result in crash.

Additional Information

It would be nice to not have to use UI element to start video on object texture, however stopping it from crashing would be really good already.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Game Crash.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Fixed.
Killzone_Kid set Legacy ID to 3983856877.May 7 2016, 7:55 PM
Killzone_Kid edited a custom field.

Fixed in rev. 128644.