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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[RELEASED] Magic Light Probes - High Precision Light Probe Generator

Discussion in 'Assets and Asset Store' started by Eugene-B, Nov 18, 2019.

?

Are you interested in this asset?

Poll closed Jan 28, 2020.
  1. Yes, I plan to buy it

    3 vote(s)
    75.0%
  2. No

    1 vote(s)
    25.0%
  1. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    616
    Do you think something like this could extend to reflection probes? Of course I wouldn't need as many as you do with light probes, but automatically placing them in say indoor areas or every so often using the same algorithms would be really helpful.
     
  2. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
    Yes, I've already thought about it, maybe I'll make some kind of addition to MLP or make a separate plugin for this, but it will be later, until I just don't have time for it. If there are any suggestions and any ideas, then I'm glad to see it! Thanks!
     
    sivrikaya and blueivy like this.
  3. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    80
    HI,

    If I had included the Mighc Light Probes in my project, I would get an error when building my application. Please tell me how to deal with this.

    mlperor.png
    MLP version 1.94.0
    Windows 10, Unity 2020.3.41f1
    Target: Android, built-in RP
    IL2CPP (64bit)

    1. Create new project in Unity 2020.3.41.
    2. import Magic light probes from Package manager.
    3. Project settings.
    4. Press "Build" button , and I saw build error.
     
    Last edited: Oct 23, 2022
  4. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
    Hi! Please replace this file.
     

    Attached Files:

  5. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    80
    Hi!, overwriting this new cs file my build finished successfully.
    Thank you for your help.
     
    hopeful and Eugene-B like this.
  6. THALL-Flaim

    THALL-Flaim

    Joined:
    Jul 19, 2022
    Posts:
    4
    Getting this every time I push to git or open my project, it's recompiling all scripts and killing productivity.

    upload_2022-10-26_15-31-34.png
     

    Attached Files:

  7. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
    It's should be showed only once. Which version of engine?
     
  8. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    506
    Hi does it work in runtime? Can I add this to buildings I create in runtime?

    Can I move light probes in the runtime? Because I can't move unity light probes in runtime.
     
  9. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
    MLP just places Unity light probes.
     
  10. benjamin_flashbulb

    benjamin_flashbulb

    Joined:
    Aug 4, 2020
    Posts:
    22
    I'm in the same infinine loop as THALL-Flaim. We're using perforce and it seems your plugin is trying to change assets that cannot be overridden at that stage. We're on Unity 2021.3.3f.

    upload_2023-4-25_16-21-38.png
     
  11. dock

    dock

    Joined:
    Jan 2, 2008
    Posts:
    598
    I'm having problems with MLP placing probes within my geometry.
    I'm also getting errors when I try to Calculate Volumes. I'm using Bakery but that shouldn't change the probe position scanning.

    Code (CSharp):
    1. MissingReferenceException: The object of type 'MagicLightProbes' has been destroyed but you are still trying to access it.
    2. Your script should either check if it is null or you should not destroy the object.
    3. MagicLightProbes.MagicLightProbes.CheckState () (at Assets/Magic Light Probes/MagicLightProbes.cs:1106)
    4. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <964670f15c6b47f9b8f9340732720473>:0)
    5.  
    Unity_BcCfFPdQvX.png
    Here you can see the probe is within the floor
    Unity_saEWAxN0Cr.png

    Looking at the side shows lots of probes within the base block that shouldn't be there.

    Can you help?
     
  12. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
  13. Abnormalia_

    Abnormalia_

    Joined:
    Jul 23, 2013
    Posts:
    124
    upload_2023-10-28_1-48-49.png

    I've recently updated another audio plugin and after the scripts recompiled, the project is in an endless loop ! :)
     
  14. Eugene-B

    Eugene-B

    Joined:
    Sep 7, 2014
    Posts:
    311
    It looks like someone else is trying to change the compilation symbols string in the Player settings. Which plugin have you installed?
     
  15. Abnormalia_

    Abnormalia_

    Joined:
    Jul 23, 2013
    Posts:
    124
    hopeful likes this.