Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
1.4.2
Issue ID
UVSB-776
Regression
No
lag spike on first collision with "ontrigger"
Original Issue
----
i hope some one can help.on android i keep getting a lag spike on the first time a "ontrigger enter" collides with a game object the code works after the lag and the lag dosnt happen again till you reset the game even if youhit the same object. the lag spike is relay bad on my cheep phone and about half as bad on my s8
i recreated the error on a empty game and its still there
i only have 2 objects in the game the moving one has ridged and a sphere collider and and the still one has a box collider set to trigger. im not using the 2d ridged body because i'm hoping to make a 2.5D game the only graph in the game
!https://support.ludiq.io/s/attachments/21929/5/2280/1c1ce632041a1b1f09dcb26afebea6fb.png!
!https://support.ludiq.io/s/attachments/21929/5/2280/6b596a586ed94ed8dd261bad1a94e454.png!
!https://support.ludiq.io/s/attachments/21929/5/2280/a0896aecaf864496f998517b39bc540e.png!
!https://support.ludiq.io/s/attachments/21929/5/2280/d3a947fcfde4ac4d42bed1186709073e.png!
same error is on pc but way smaller
!https://support.ludiq.io/s/attachments/21929/5/2280/69c43bde86cb3afb5bb24e647bae321b.png!
!https://support.ludiq.io/s/attachments/21929/5/2280/1735953d691c75f90399f2f66f8b09c0.png!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Lazlo Bonin (Lead Developer) 10 months ago
Hi Joshua,
Sorry for the very late reply on this.
I can confirm the prewarm fix reduced the lag, but indeed not completely. We've decided to postpone the fix as it would require a major refactor to preload more data without bloating memory usage.
In Bolt 2, this won't be an issue because you'll be running from C# scripts directly.
I apologize about the inconvenience, I hope you can work around it in your design.