Hello Guest

Author Topic: "Otter.Atlas threw an exception"  (Read 1984 times)

0 Members and 1 Guest are viewing this topic.

Linkpy

  • Member
  • Posts: 4
    • View Profile
"Otter.Atlas threw an exception"
« on: May 26, 2016, 12:45:25 PM »
Hello !

I got a problem to get working the basic window example :


What did I do wrong ?
Thanks for your help !

chris

  • Member
  • Posts: 1
    • View Profile
Re: "Otter.Atlas threw an exception"
« Reply #1 on: May 28, 2016, 09:54:27 PM »
I'm getting the same on c1906e90867e.

The entirety of what I'm trying to build is:
Code: [Select]
using Otter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OtterTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var game = new Game("Hello World, look at me!");
            game.Start();
        }
    }
}


My full stack trace is below.

Code: [Select]
   at Otter.Atlas..ctor(String source)
   at Otter.Game..ctor(String title, Int32 width, Int32 height, Int32 targetFramerate, Boolean fullscreen) in D:\Environments\Otter\kylepulver-otter-c1906e90867e\Otter\Core\Game.cs:line 206
   at OtterTest.Program.Main(String[] args) in D:\Environments\Otter\OtterTest\OtterTest\Program.cs:line 15
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Kyle

  • Administrator
  • Member
  • Posts: 258
    • View Profile
Re: "Otter.Atlas threw an exception"
« Reply #2 on: June 06, 2016, 10:49:37 PM »
Yeah my bad I totally broke something and didn't notice right away.

I was trying a new version of SFML for Audio, and for some reason Visual Studio does not like copying the referenced dlls over anymore when I do that.  So I've since switched it back.  (I didn't notice because I was testing using projects that already had the dlls copied into their bin folders.  It wasn't until a few days ago that I tried a blank project and noticed the error.)

Sorry about the mix up.  If you grab the latest Nuget verison, or version off of Bitbucket now, it should be back to working again.

Linkpy

  • Member
  • Posts: 4
    • View Profile
Re: "Otter.Atlas threw an exception"
« Reply #3 on: June 24, 2016, 01:36:30 PM »
Working now, thanks !