Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

.b12 Compile Issue

Discussion in '2018.1 Beta' started by jeffweber, Mar 24, 2018.

  1. jeffweber

    jeffweber

    Joined:
    Dec 17, 2009
    Posts:
    616
    I just went from the 2018.1 b10 beta to 2018.1 b12 beta and now I get this blocking compile issue.

    C:/ProgramData/Unity/cache/packages/packages.unity.com/com.unity.standardevents@1.0.12/Editor/Importer.cs(8,18): error CS0535: `UnityEditor.StandardEventsImporter' does not implement interface member `UnityEditor.Build.IPreprocessBuild.OnPreprocessBuild(UnityEditor.BuildTarget, string)'

    Moving back to b10, but thought I'd let you know.

    -Jeff
     
  2. exerion

    exerion

    Joined:
    Jun 29, 2011
    Posts:
    54
    We are also experiencing a similar issue in b12 with the interfaces IPreprocessBuild, IPostprocessBuild and IProcessScene. Updated them to IPreprocessBuildWithReport, IPostprocessBuildWithReport and IProcessSceneWithReport. Unity was still giving errors, I deleted all of Unity's caches and it's now working. I think something was not recompiling.
     
  3. Freddicus

    Freddicus

    Joined:
    Feb 4, 2015
    Posts:
    19
    +1 / Same here
     
  4. Freddicus

    Freddicus

    Joined:
    Feb 4, 2015
    Posts:
    19
    I deleted the ProgramData cache folder, but that didn't help. I couldn't find any other caches. I'm also rolling back.
     
  5. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    579
    They mention it in the beta release notes. Just change BuidReport paramater in your function to (BuildTarget bt, string path). There is no need to revert because of this. :)
     
    Freddicus likes this.
  6. mcooley5155

    mcooley5155

    Joined:
    Jan 16, 2018
    Posts:
    6
    Thats great. And what if it is in some asset from the asset store that YOU did not write? I can't even find what it is complaining about. Is Unity ever going to be stable? I have only been using it for about 3 months, but I have had to start over at least once per month because of stuff like this. How is Unreal? Any better?
     
  7. Freddicus

    Freddicus

    Joined:
    Feb 4, 2015
    Posts:
    19
    I don't think this is really appropriate. We're talking about a beta release here. I've not had instability problems with the scheduled major releases.
     
  8. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,448
    Beta releases are expected to be less stable, it's mentioned on the beta download page:
    https://unity3d.com/unity/beta

    However, I believe it should be made a lot more obvious on the beta download page, that beta releases are not intended to be used for production and that they normally contain bugs. @LeonhardP what do you think, can someone add this to the page? Something very obvious, to set user expectations on the correct path for beta releases.


    If you're looking for more stable releases, you might want to give the Long Term Support Releases program a try:
    https://unity3d.com/unity/qa/lts-releases
     
    LeonhardP and Freddicus like this.
  9. recursive

    recursive

    Joined:
    Jul 12, 2012
    Posts:
    669
    I think I have the same or similar problem. ECS build of b12, case #1020557. Seems to be related to assembly definitions, my code compiles fine if I delete mine.