File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Assets/Live2D/Cubism/Editor Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public class CubismAssetProcessor : AssetPostprocessor
2828 {
2929 #region Unity Event Handling
3030
31+ #if ! UNITY_2017_3_OR_NEWER
3132 /// <summary>
3233 /// Called by Unity. Makes sure <see langword="unsafe"/> code is allowed.
3334 /// </summary>
@@ -36,6 +37,7 @@ public static void OnGeneratedCSProjectFiles()
3637 {
3738 AllowUnsafeCode ( ) ;
3839 }
40+ #endif
3941
4042
4143 /// <summary>
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
66
7+ ## [ Unreleased] - ####-##-##
8+
9+ ### Changed
10+
11+ - Change ` OnGeneratedCSProjectFiles ` function to be disabled in Unity 2017.3 and later by [ @moz-moz ] ( https://github.com/moz-moz )
12+
13+
714## [ 5-r.2] - 2024-04-04
815
916### Added
You can’t perform that action at this time.
0 commit comments