Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to stop unity from instatiating addditional lighting & cameras when instatiating blender models?

Discussion in 'Getting Started' started by AVeryNormalDeveloper, May 27, 2021.

  1. AVeryNormalDeveloper

    AVeryNormalDeveloper

    Joined:
    May 27, 2021
    Posts:
    2
    Hello, I am relatively new to unity and blender so please forgive me if this issue is because of a stupid oversight I made. So, I have made some code that allows me to generate a simple hex map based on the desired height and width. However, unity keeps instantiating additional cameras and lighting. I have attached additional images to make help easier. Thanks in advance. PhotoOfHexGen.png CodePart1.png CodePart2.png
     
  2. AVeryNormalDeveloper

    AVeryNormalDeveloper

    Joined:
    May 27, 2021
    Posts:
    2
    I tried deleting lights and camera but it didn't work
     
  3. LethalInjection

    LethalInjection

    Joined:
    Jan 25, 2015
    Posts:
    37
    This can be fixed by using custom export settings to exclude camera and lamp during the export. There several others settings in that menu. One can also save those export settings on that screen as a preset.

    if you are having trouble with the basics, then I suggest spending some time with any learning videos for blender and unity as there are many other basics to help speed you through this.