Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Asset bundle reflection map

Discussion in 'General Graphics' started by Pawuchock, Oct 10, 2018.

  1. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    17
    Hi guys!
    I`m having a problem with asset bundles and lightning.
    There is an object in my assets folder and the same object,but it is loading from the server, using asset bundles.
    https://gyazo.com/8ef6ad80ddc83bd8130d6b43501c691c
    The left object is from project folder, and the left one is downloaded from asset bundle (screenshot was done from Game tab, after bundle was loaded)
    the problem is - after i download my object it wont render as i expect:
    there is no reflection and its too much light on it.
    https://gyazo.com/dda3e9d206c3936f7e8142656043fc69
    Here is the screenshot of the materials. on the left, there are two materials from asset bundle loaded object, on the right - materials of the object from the asset folder.
    All lights in the scene are realtime.
    Unity version 2018.3.0b4.
    Reflection comes from custom Environment reflection (cubemap).
    Thanks in advance!
     
    Last edited: Oct 10, 2018
  2. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    17
    I`ve tried to download Materials using asset bundle, and i saw same situation.
    material which was downloaded - wont reflect(
     
  3. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    17
    after a bit of testing, found a workaround - if you change your shader on already downloaded material to something, and then back to Standard, everything works.
     
  4. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    17
    any updates on this?
     
  5. marc-transfvr

    marc-transfvr

    Joined:
    Jan 13, 2021
    Posts:
    1
    I realize this is an old post, I'm having this exact problem right now. Did you ever found a workaround?