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

Question Load a .bmp file from linux

Discussion in 'Linux' started by hamik166, Sep 11, 2020.

  1. hamik166

    hamik166

    Joined:
    Oct 19, 2019
    Posts:
    31
    Hey, I am developing something for windows that I'm trying to make universal and work in linux too,
    I'm trying to find a way to load a bmp into unity at runtime from a given path.
    I found some solutions, but I am not sure if they'll work in linux, will stuff that use:

    using System.something work in linux?

    If not, how do I load a .bmp file from a given path into the game in linux?

    I want to use it as a Texture2D
     
    Last edited: Sep 11, 2020