Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Camera causing GC calls?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Camera causing GC calls? (Read 4163 times)
Ricky
Newbie
Posts: 1
Camera causing GC calls?
«
on:
June 25, 2016, 05:00:17 am »
I loaded up an empty project and just put a camera in it and ran the profiler and keep getting these GC spikes in the profiler. The culprit seems to be in tk2dCamera.OnPreCull(); Can you please check this out? I'm using Unity 5.3.5f1 if that helps.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Camera causing GC calls?
«
Reply #1 on:
June 27, 2016, 10:50:39 pm »
I'm guessing that's in the editor? That's correct, it uses reflection to get to some undocumented things in the editor, but these don't exist in the runtime version.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Camera causing GC calls?