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

5.6.1f1

Issue ID

918179

Regression

No

[serialization] Crash in scripting_field_get_type after recompile after editing C# code in WINDOWS_UWP block after failed build

Scripting

-

Steps to reproduce:
1. Download and open project "918719.zip" (link in the edit)
2. Open "Empty.cs" script
3. Add "var storageFolder = await KnownFolders.GetFolderForUserAsyncXXX(null /* current user */, KnownFolderId.DocumentsLibrary);" line in #if WINDOWS_UWP block
4. Focus Unity and build for UWP (build will fail)
5. Focus Code Editor and change the previously added line to "var storageFolder = await KnownFolders.GetFolderForUserAsync(null /* current user */, KnownFolderId.DocumentsLibrary);"
6. Save the script and focus Unity
7. Wait for recompilation

Result: crash on scripting_field_get_type

Editor.log attached

Reproducible with: 5.6.1p1, 2017.1.0b8

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.