have a System.Security.Policy error message ??

have a System.Security.Policy error message ?? :slight_smile:

Lost a file?
Or, the entire set of files
Which group should I ask in Unity?
The version used is 2018.3.7.f1

Assets\UnityChan\Scripts\AutoBlink.cs(8,23): error CS0234:
The type or namespace name ‘Policy’ does not exist in the namespace
‘System.Security’ (are you missing an assembly reference?)

[SOLVED] @plotso93 @Davedub

Issue: AutoBlink.cs script broken

Fix: In AutoBlink.cs - on line 8 in VisualStudios - Replace ‘using System.Security.Policy;’ with ‘using System.Security;’

This solved my issue and allowed me to run the AutoTest Scene. =D

BIG THANKS TO NEWBSTATION FOR COMMENTING SOLUTION ON UNITY-CHAN ASSETS REVIEWS!

I have hit the exact same error when trying to run the UnityChan examples.
(Unity 2018.3.9f1)


Steps to reproduce:

  1. Download and import UnityChan package
  2. Open a sample scene
  3. Try to run the project

Expected behaviour: UnityChan scene loads


Actual behaviour: The following error is reported in the console


Assets\unity-chan!\Unity-chan! Model\Scripts\AutoBlink.cs(8,23): error CS0234: The type or namespace name 'Policy' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)