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

Exporting issue

Discussion in 'Editor & General Support' started by SidGads, Mar 22, 2021.

  1. SidGads

    SidGads

    Joined:
    Jan 5, 2021
    Posts:
    4
    When exporting a project, the exe doesn't show all the images that should be there. I'd really appreciate any help or advice.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    need more info..

    which images are missing, where are they located if it works in editor?
    how are you using or loading those images?
    are there error messages in the player.log?
    player.log file location https://docs.unity3d.com/Manual/LogFiles.html
     
  3. SidGads

    SidGads

    Joined:
    Jan 5, 2021
    Posts:
    4
    we're calling them with resources.Load. there's no error message. and I noticed that pngs in the assets folder were working fine but pngs in resources were not loading.
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Are you using Resources.Load, or Resources.LoadAsync?
     
  5. SidGads

    SidGads

    Joined:
    Jan 5, 2021
    Posts:
    4
    Resources.Load, but I fixed the issue by moving some files to StreamingAssets. now the issue I'm having is that the images are really glitchy.