In 2017.1.1 version if we want to get readings of FramePerSecond for any unity application using unity profiler we used:-
// write FPS to “profilerLog.txt”
Profiler.logFile = Application.persistentDataPath + “/profilerLog.txt”;
// write Profiler Data to “profilerLog.txt.data”
Profiler.enableBinaryLog = true;
Profiler.enabled = true;
The above code will generate two files 1 is profilerLog.txt which contains frame per second information and other one is profilerLog.txt.data which will contains other profiling information.
But when I tried this on 2017.4.1 version a raw file is generated I tried to open with unity profiler a blank line was appeared and nothing more than that.
Can anyone suggest me how to take FPS reading in unity 2017.4.1 version.