Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity game won't play .mp4 files on video player

Discussion in 'Editor & General Support' started by Vanderley5974, Jan 31, 2021.

  1. Vanderley5974

    Vanderley5974

    Joined:
    Nov 27, 2016
    Posts:
    21
    Hi! I'm trying to build a game, however It doesn't seem to want to play the video once it's built
    I've tried setting transcode on like indicated by multiple people in the past, and setting the codec to H264. however it hasn't worked for me

    I'm not sure what I can do because my game heavily relies on these cutscenes to work, please let me know of solutions ASAP!

    I'm using Unity 2019.3.15f1
     
  2. Vanderley5974

    Vanderley5974

    Joined:
    Nov 27, 2016
    Posts:
    21
    I still dont know what to do :/
     
  3. Vanderley5974

    Vanderley5974

    Joined:
    Nov 27, 2016
    Posts:
    21
    What's stranger is that the video plays on the editor
     
  4. Vanderley5974

    Vanderley5974

    Joined:
    Nov 27, 2016
    Posts:
    21
    would decreasing the file size help or no?
     
  5. julianstetzkowsky

    julianstetzkowsky

    Joined:
    Feb 10, 2021
    Posts:
    2
    I think i have the same issue. i cant get the video file mp4/.mov in to the video player.
     
  6. dXxyeetxXb

    dXxyeetxXb

    Joined:
    Feb 23, 2021
    Posts:
    14
    You have to change the source to an URL and then press Browse and should you be in your most recent file or in This PC. And they do support .mp4