Compiled game causes a virus warning. ?!

NOT resolved, but I’m going to make a new post to the DOTS / Physics group as that seems to be where the issue exists. (see Edit #3)


Hello gang,

This issue is new, I have been working on this game for a few years and today when I compile the game and attempt to run it, Norton is throwing an error about a file in this location: C:\ProgramData\Microsoft\Windows\WER\Temp

The file is a random guid with no data within it, I am assuming that the lack of data is that Norton is stopping it writing anything.

That folder is for Windows Error Reporting, so it seems something is going wrong and Unity or something is attempting to report the issue, and then Norton shuts it down.

Now, I know your next thoughts:

  • Yes I have attempted to exclude the file from Norton’s scan. Yet it affects, yea yea, FU Norton (I have been using them for 30 years, even worked for a div of Symantec, but their AV has gone to hell)
  • I attempted to “pause” Norton, but the error is still thrown.
  • The game runs fine in the editor, no files are created in that folder.
  • I have rebooted multiple times
  • I have recompiled multiple times
  • I am, of course, look at purchasing a different anti-virus.

Unity 2022.3.46f
DOTS and Game Objects.
Windows 10

So ANY thoughts?

EDIT: I have been removed items and compiling and narrowed down that a Player ECS entity, when disabled, the crash does not occur. Why? Don’t know. It’s a start.

EDIT 2: I have recreated a new object in the sub scene. When I attach a Physics Shape OR Rigid Body OR a Box Collider, or any combination of these, then the issue of the crash occurs. I can run any of these setups in the Editor with NO exceptions thrown. Next I need to stop or remove Norton to see what is being written in the file.

EDIT 3: I removed my anti-virus and now the compiled game just crashes. 8 files are created within the above mentioned folder, 7 of which are removed from the file system almost immediately, and the last file is the guid 0 length file that is removed from that folder within 2 minutes, by I assume the Windows Error Report engine.

Because of the addition of the RigidBody or Physics Shape SEEMS to cause the crash, I’m going to post this to the DOTS group.

You can try reporting False positive to Norton.

But it is quite common to get these false alerts,
happens especially if you use any Obfuscator plugins…
and outside unity, doing some process, ports stuff in exe file, seems to trigger it sometimes too.

If you have version control,
could try going back to olders commit, to see if it happens on those builds?
Or maybe Norton or Windows itself had some updates that are causing it to be detected now…

Thanks for the quick reply.

I did attempt to mark the file as false, but since each time I attempt to run the compiled game the file name is a different random guid, impossible for me to resolve this with Norton.

I don’t BELIEVE I have any Obfuscator plug-ins, but I will look into that. Thanks

I consider the other ideas too.

Thanks again