You can use this thread to ask questions about the plugin or to report bugs.
Hi Socke!
Brais here premiering the new thread for this awesome plugin.
I’ve noticed that gltf and glb files were added as new import options. However, I haven’t been able to import them using the plugin, as I keep on getting errors. The error code I get is this one:
LogTemp: Error: RealTimeImportPlugin: Less than 3 vertices found in file. Cancel: G:/Shared drives/AccuCities_Team_Drive/Useful_Docs/App/PlanCity World/Tool development/Import tool/SampleModels/Dinosaur.glb
And this is the file I was trying to import: Unique Download Link | WeTransfer
Using the latest version of the plugin in Unreal Engine 5.3.2
Do you mean in the demo project? The demo project is older than the plugin and the new formats have not yet been added there. You usually get the error message if the parameter “File Type” does not match the file. So if you have selected FBX there and you load an OBJ file then nothing is found and you get this error message. I will update the demo.
Hi again!
It wasn’t in the Demo project, it was in a project of my own. But I’ve now discovered the issue - I wasn’t setting the File Type correctly. I was reading the extension of the file in order to determine which file type enum should be used, and discovered that making a simple translation from the extension to the enum wasn’t working, possibly because of a mismatch in the file extension and the name of the enum.
I think there is maybe a typo on the enums the plugin uses: the .glb format is listed as GBL, with the B before the L.
Ah, you’re right. I got the letters wrong. Thanks for pointing that out. Will be corrected in the next update.
Does he imported mesh has collision? In my project i need it to have complex collision enabled and to detect this mesh with a line trace.
Yes, collision is available. The plugin reads the data and sorts it so that it can be used with the procedural mesh component. The PMC is from Epic not from me and it supports collisions. You can also try before you buy.