Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
16
Found in
2019.4.14f1
2020.1.12f1
Issue ID
1289794
Regression
Yes
[Profiler] "GetInt is not allowed error" is thrown when entering the Play Mode while Profiler is recording the Editor
How to reproduce:
1. Create a new project
2. Open the Profiler (Window->Analysis->Profiler)
3. In the Profiler controls section change it to record the Editor
4. Enable the recording in the Profiler
5. Enter the Play Mode
Expected results: No errors are thrown
Actual results: The "UnityException: GetInt is not allowed to be called during serialization" error is thrown
Reproducible with: 2019.4.14f1, 2020.1.12f1
Not reproducible with: 2018.4.28f1, 2019.4.13f1, 2020.1.0a1, 2020.1.11f1, 2020.2.0a1, 2020.2.0b10, 2021.1.0a4
Notes:
- There are two "GetInt" exceptions that are thrown:
UnityException: GetInt is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'ProfilerWindow'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditorInternal.Profiling.MemoryProfilerModule..ctor () (at <20b79eb59c0f467d8b1106b2110bc953>:0)
And:
UnityException: GetInt is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'ProfilerWindow'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditorInternal.Profiling.AudioProfilerModule..ctor () (at <20b79eb59c0f467d8b1106b2110bc953>:0)
-
RendergonPolygons
Nov 18, 2020 08:45
occurred upgrading to 2020.1.13f1 from 2020.1.8f1
-
mangax
Nov 15, 2020 15:26
this bug still happening in unity 2020.1.13f1
-
Galiderath
Nov 14, 2020 02:56
Occurred creating a new project in 2020.1.13f1
-
konnosgar_milky
Nov 12, 2020 10:05
Occurred upgrading project from 2019.3 to 2020.1.12f1
-
Holygoe
Nov 11, 2020 22:13
Occurred upgrading from 2020.1.11f1 to 2020.1.12f1, or from 2020.1.11f1 to 2020.1.13f1 as well
-
rafal_b
Nov 11, 2020 00:14
Occurred upgrading from 2020.1.10f1 to 2020.1.12f1 as well
-
Teea
Nov 10, 2020 22:49
Occurred upgrading from 2020.1.10f1 to 2020.1.12f1
-
J0hnC0nn0r
Nov 09, 2020 22:40
Occured Upgrading from 2020.1.11f 1 to 2020.1.12f1 Previous guy obviously meant 2019.3 to 2019.1.14f1 since 2020.1.14f1 doesn't exsist.
-
CodePoKE
Nov 08, 2020 11:41
Occurred upgrading from 2019.3 to 2020.1.14f1
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
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
Resolution Note (fix version 2021.1):
Fixed in 2021.0.0a6
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b12
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.14f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.15f1