Skip to content

Conversation

@moz-moz
Copy link
Contributor

@moz-moz moz-moz commented Apr 18, 2024

Changes

For Unity versions 2017.3 and later, which support Assembly Definitions,
the CubismAssetProcessor will skip patching the .csproj files.

Motivation

Since unsafe code is allowed through csc.rsp, mcs.rsp, and Live2D.Cubism.asmdef files,
it is now safe to stop adding or modifying the AllowUnsafeBlocks setting in .csproj files.

Furthermore, the JetBrains Rider IDE does not support the OnGeneratedCSProjectFiles method and issues a warning when this method is defined.

With this change, users will be freed from unnecessary processing costs and the effort required to ignore such warnings.

@wada-at-live2d-com wada-at-live2d-com self-requested a review April 19, 2024 01:42
@wada-at-live2d-com
Copy link
Contributor

@moz-moz

Thank you for pull request and investigation!

We are preparing to accept this fix. We will add it to the CHANGELOG in your fix branch, and once that is done, We will merge it.

@moz-moz
Copy link
Contributor Author

moz-moz commented Apr 26, 2024

@wada-at-live2d-com

Thank you for reviewing my pull request!
I'm looking forward to seeing it merged.

@wada-at-live2d-com wada-at-live2d-com merged commit 304d0d0 into Live2D:develop Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants