I have just started to make my new game and strangely , I got an error. I can play in editor normally but can’t play when I build and if I disable canvas everything works great. I have just started so I have only canvas, camera and Eventsystem in hyerarchy. Here is error log …(I will really be happy for any answer that helps me and thx for answers)
but I cant understand that when I remove the canvas game is working just with a solid color that I added to camera. I think if I had a problem like you said , I won’t be able to run the game with canvas or without it ??! and thank you for your answer
The canvas depends on graphics.dll to udpdate and batch sprites…but it is still an I/O error…if we can figure out what actually belongs to that sector…worst case, boot to dos, run a ram sector test?..sometimes sectors of memory go bad…rarely…but…plausible.
Thanks for your interest , I have questions. What is the I/O error and if I copy everything and build another pc as I understand it can be work, right ? So this issue about pc. One more question , I haven’t run across this problem in my other games with canvas , why ? Sorry for my ignorance and again thanks a lot
Well…the error just says that…I think it is your pc security settings…But that would happen in the editor as well, so something is happening once your project is compiled…at this point, I am out of plausible scenarios.
If it happens on build, unity can not move the required components for canvas, because: a). It can not find them b). It does not have read write access to it… Like a UI material : assign default sprite material . default UI/Font material to all UI elements…
Most Likely your solution…(link above)
–>>> I searched this: unity 3d Access Violation (0xc0000005)