Announcement

Collapse
No announcement yet.

Can't assign Lightmap Coordinate Index

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I too have encountered this issue. Many times in fact. I did manage to work around it , but I've had several times where setting the Light Map Index manually would crash my engine. But anyways, these are the steps i took:

    - Delete all UV's
    - AutoGenerate them using UE

    While this is far from perfect, in my projects this has let me define a custom lightmap index. Also be sure to set your Destination Light Map Index as well.

    Leave a comment:


  • replied
    In 4.25 preview I still have these issue. Can't change it to 1. So apparently we can wait till 4.26 lol

    Leave a comment:


  • replied
    Hello is this fixed yet or do I have to use github. I have never used github before. Or do I just resinstall the UE4?

    Leave a comment:


  • replied
    Originally posted by Warner V View Post

    Just got a mail on my bug report from the developer team: due to the bug requiring API changes, it will only be fixed in 4.25 (API changes are not allowed in hot-fixes). However, as mentioned above, if it's highly critical in your case, you could consider compiling a version of the engine from source, to integrate the fix. (Fix CL is listed on bug tracker).
    I don't understand because this has been fixed in UE4.24 sources, you can read this:
    https://forums.unrealengine.com/unre...hange-off-of-0
    I have tested myself so I think, that if there will be a 4.24.2, the fix will be integrated.

    Leave a comment:


  • replied
    A quick fix is to set the Number os LODs to 1. You cannot use LODs, but you can bake lightmaps again.

    Leave a comment:


  • replied
    Originally posted by Warner V View Post

    Actually, the workaround can be a bit simpler: Just set LOD Group to 'none', Number of LODs to 1, apply changes. Then you'll be able to assign your Light Map. But of course you won't have LODs.
    Hey, that actually works, Thanks, I'll try to bake it again.
    considering I'm not working on a game, but a portfolio piece, I don't mind losing LODs

    BTW, you don't actually need to set the LOD group to None, just set the number back to 1.
    Last edited by RockNBurn; 01-24-2020, 01:02 PM. Reason: adding information

    Leave a comment:


  • replied
    Originally posted by Castorpuck View Post
    This is such a critical bug which needs immediate hot fix released in form of 4.24.2 .. we cant wait for 4.25...
    Just got a mail on my bug report from the developer team: due to the bug requiring API changes, it will only be fixed in 4.25 (API changes are not allowed in hot-fixes). However, as mentioned above, if it's highly critical in your case, you could consider compiling a version of the engine from source, to integrate the fix. (Fix CL is listed on bug tracker).

    Leave a comment:


  • replied
    This is such a critical bug which needs immediate hot fix released in form of 4.24.2 .. we cant wait for 4.25...

    Leave a comment:


  • replied
    Originally posted by RockNBurn View Post

    No dice. Still does not work.
    Actually, the workaround can be a bit simpler: Just set LOD Group to 'none', Number of LODs to 1, apply changes. Then you'll be able to assign your Light Map. But of course you won't have LODs.

    Leave a comment:


  • replied
    Originally posted by Deelus View Post
    So, i found temporary solution for me and maybe it's will be helpful for others. What you need to do it's just export your meshes with "Level Of Detail" option enabled, change location of source file in asset properties, set "import mesh LODs" option and hit Reimport base mesh + LODs. Only then you will be able to set LM index.
    No dice. Still does not work.

    Leave a comment:


  • replied
    Originally posted by Deelus View Post
    So, i found temporary solution for me and maybe it's will be helpful for others. What you need to do it's just export your meshes with "Level Of Detail" option enabled, change location of source file in asset properties, set "import mesh LODs" option and hit Reimport base mesh + LODs. Only then you will be able to set LM index.
    Thanks, I'll try that with one asset first.

    Leave a comment:


  • replied
    It's an engine bug, sources of 4.24 have been fixed, you can download and compile, but you have to wait for 4.24.2 or 4.25 if you want to use binaries.

    Leave a comment:


  • replied
    So, i found temporary solution for me and maybe it's will be helpful for others. What you need to do it's just export your meshes with "Level Of Detail" option enabled, change location of source file in asset properties, set "import mesh LODs" option and hit Reimport base mesh + LODs. Only then you will be able to set LM index.

    Leave a comment:


  • replied
    RockNBurn have you found any solution? I have this problem too, after migrating from 4.23 to 4.24 i can't change lightmap coordinate index. When i trying to change it's going back to 0 or engine just crashing.
    Last edited by Deelus; 01-21-2020, 07:56 AM.

    Leave a comment:


  • replied
    Originally posted by andreas.ranman View Post
    I'm on 4.24 and can change "Light Map Coordinate Index" with meshes from earlier version and meshes imported 4.24. Think I did struggle some with a mesh we store custom data in UVs but this was me not having the correct settings in the "Build Settings", changed the "Destination Lightmap Index" then reimported and it too worked as expected.
    Nope, still does not work. While yes, it auto-generate the lightmap UV, the engine still does not let me assign the UV on index 1 as the lightmap UV. Everytime I try to assign it, it goes back to 0, even though I have 2 UVs

    Leave a comment:

Working...
X