Import ldr Model into Unity issues.


Import ldr Model into Unity issues.
#1
Hey LDraw community, 
I am having an issue with importing my .ldr file into Unity. 
I am using the Lego model importer that comes with the Lego Mini Game on the Unity game engine website. 
When I import my model, parts of it are rotated on in the wrong position.

I checked the ldraw xml file and I have the most recent version. 

Does anyone have an idea how to fix this? 

[Image: EqV3t3mXEAEKI_f?format=jpg&name=large]
Reply
RE: Import ldr Model into Unity issues.
#2
Hi (and welcome here!)


Quote:I checked the ldraw xml file and I have the most recent version. 
Are you sure? The version that I installed here with Unity is dated 2020-02-02 and doesn't contain mapping for parts 65634, 65635 and 66727. Latest one is stamped 2020-12-23.

Unity LDraw.xml is located in C:\Users\{your user name}\MyFirstGame\Library\PackageCache\[email protected]\Data
Keep a backup the original one if the new one doesn't work (it seems to be fine here)
Reply
RE: Import ldr Model into Unity issues.
#3
Thank you for the reply! 

Quote:Are you sure? The version that I installed here with Unity is dated 2020-02-02 and doesn't contain mapping for parts 65634, 65635 and 66727. Latest one is stamped 2020-12-23.

You are correct I hadn't updated the xml file like I thought and now get no import errors.

However, the positioning of parts is still not correct.

Do you know how to fix this?


Attached Files Thumbnail(s)
   
Reply
RE: Import ldr Model into Unity issues.
#4
(2020-12-29, 19:15)ajs Wrote: Do you know how to fix this?

Huh  Can you share your LDraw model?
Reply
RE: Import ldr Model into Unity issues.
#5
Sure! 
Here you go.


Attached Files
.ldr   Rally_Car.ldr (Size: 14.68 KB / Downloads: 3)
Reply
RE: Import ldr Model into Unity issues.
#6
(2020-12-29, 21:24)ajs Wrote: Sure! 
Here you go.
OK, sorry, I give up with this one: looks like ldraw.xml gets overwritten when Microgame is launched Sad
Reply
RE: Import ldr Model into Unity issues.
#7
No worries, thank you so much for having a look for me and helping me out.

I will use other bricks instead.  Smile
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)