Hello Guest

Author Topic: Camera causing GC calls?  (Read 3641 times)

Ricky

  • Newbie
  • *
  • Posts: 1
    • View Profile
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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
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.