Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch Materials and spawning an unspawned object has incorrect mesh #3002

Open
Bizow opened this issue Feb 18, 2024 · 0 comments
Open

Batch Materials and spawning an unspawned object has incorrect mesh #3002

Bizow opened this issue Feb 18, 2024 · 0 comments
Labels
bug This issue describes a bug

Comments

@Bizow
Copy link

Bizow commented Feb 18, 2024

Description
When using SpawnObjectByName in either haxe or LogicTree with Batch Materials checked and Spawn turned off the object mesh is not correct.

To Reproduce
Armory Project > Renderer > Batch Materials = checked
Object to spawn > Armory Props > Spawn = unchecked
Create a new material and add it to the object to spawn and one other object.

*Note that this issue doesn't happen if the object is spawned on init.
After a delay spawn in the object and it will be a cube that is the equivalent size of the bounds of the original object.

Expected behavior
The object should spawn with the correct mesh and size.

System
Blender: 3.6.x
Armory: 2024.2.0
OS: Windows 11 Pro
Graphics card: NVIDIA GeForce RTX 2080

Test File
(drag & drop the zipped .blend file here)
MaterialBatchingIssue.zip

@Bizow Bizow added the bug This issue describes a bug label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a bug
Projects
None yet
Development

No branches or pull requests

1 participant